diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-05-29 15:58:15 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-29 15:58:15 +0000 |
commit | acf89cab13c1826d83dce1c7ae8ea805bc034bda (patch) | |
tree | a1f1fcdf3c48daf47cf314eafb313c85890bcaf4 /config/mh-darwin | |
parent | d5531c88ee963bee9fbd5e90daab6424840a9058 (diff) | |
download | gdb-acf89cab13c1826d83dce1c7ae8ea805bc034bda.zip gdb-acf89cab13c1826d83dce1c7ae8ea805bc034bda.tar.gz gdb-acf89cab13c1826d83dce1c7ae8ea805bc034bda.tar.bz2 |
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 66f68b6..19bf265 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;` |