# Add \-Denable-macos-sdk explicit flag to build.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: 159cd528b164f77177e71309dee9fa79d2d5f4f4

Requested commit: 159cd528b164f77177e71309dee9fa79d2d5f4f4

Commit: 159cd528b164f77177e71309dee9fa79d2d5f4f4

Tree: 364c79201b35da2319f8225e0a8138ee70ba3c4c

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
Add -Denable-macos-sdk explicit flag to build.zig

This way, we can explicitly signal if a test requires the presence
of macOS SDK to build. For instance, when testing our in-house
MachO linker for correctly linking Objective-C, we require the
presence of the SDK on the host system, and we can enforce this
with `-Denable-macos-sdk` flag to `zig build test-standalone`.

```

## Parents

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

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