summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/darwin.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/darwin.config b/config/darwin.config
index 3f6fbe11..88c94743 100644
--- a/config/darwin.config
+++ b/config/darwin.config
@@ -74,7 +74,7 @@ elif target_arch == Architecture.ARM64:
arch_cflags += ' -arch arm64 -m64'
arch_ldflags += ' -arch arm64 -m64 -Wl,-arch,arm64'
-arch_cflags += ' -Wno-error=format-nonliteral '
+arch_cflags += ' -Wno-error=format-nonliteral -Werror=unguarded-availability-new '
# Starting with XCode 14, clang emits code that makes all binaries incompatible
# with older XCode versions. Disable that feature.
arch_objcflags = ''