summaryrefslogtreecommitdiff
path: root/hints/darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/darwin.sh')
-rw-r--r--hints/darwin.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 61940f34cc..d5e27a593e 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -78,8 +78,9 @@ ccflags="${ccflags} -pipe -fno-common"
#
ccflags="${ccflags} -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN"
-# cpp-precomp is problematic.
-cppflags='-traditional-cpp';
+# cppflags='-traditional-cpp';
+# avoid Apple's cpp precompiler, better for extensions
+cppflags="${cppflags} -no-cpp-precomp"
# Shared library extension is .dylib.
# Bundle extension is .bundle.