summaryrefslogtreecommitdiff
path: root/config/mh-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'config/mh-darwin')
-rw-r--r--config/mh-darwin5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/mh-darwin b/config/mh-darwin
new file mode 100644
index 0000000000..66f68b664a
--- /dev/null
+++ b/config/mh-darwin
@@ -0,0 +1,5 @@
+# The -mdynamic-no-pic ensures that the compiler executable is built without
+# position-independent-code -- the usual default on Darwin. This fix speeds
+# compiles by 3-5%.
+
+BOOT_CFLAGS += -mdynamic-no-pic