# CMake: adjust apple clang compiler check · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/aaf95ce849e7ae22a838aad5eac3dd5754a925cd)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: aaf95ce849e7ae22a838aad5eac3dd5754a925cd

Requested commit: aaf95ce849e7ae22a838aad5eac3dd5754a925cd

Commit: aaf95ce849e7ae22a838aad5eac3dd5754a925cd

Tree: 02b3503aba51e044ab46d35b9318fb7f775867a6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CMake: adjust apple clang compiler check

Before it was checking if the compiler was AppleClang, however, this did
not handle the case when using a compiled-from-source Clang on a macOS
computer, in which case the linker is still Apple ld64, and it is in
fact the linker that needs to have the different flag to communicate
stack size.

```

## Parents

- [e73170f9725c530befc688dd40053022072f5058](https://git.cafe/gitcafe/zig/commit/e73170f9725c530befc688dd40053022072f5058?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/aaf95ce849e7ae22a838aad5eac3dd5754a925cd?format=markdown)
