diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-05-29 19:58:15 +0400 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-29 19:58:15 +0400 |
commit | 75b6133098753a31b722f94b86e95b11323735f0 (patch) | |
tree | 520b14d2eb37023368c733dc59818deba35b94d2 /config/mh-darwin | |
parent | d6719f7e17a613ad90039dc4adabbc82f8532d52 (diff) |
Resync config/ from GCC.
Diffstat (limited to 'config/mh-darwin')
-rw-r--r-- | config/mh-darwin | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/mh-darwin b/config/mh-darwin index 66f68b664..19bf26568 100644 --- a/config/mh-darwin +++ b/config/mh-darwin @@ -1,5 +1,7 @@ # 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 + +# Ensure we don't try and use -pie, as it is incompatible with pch. +BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;` |