From acf89cab13c1826d83dce1c7ae8ea805bc034bda Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 29 May 2012 15:58:15 +0000 Subject: Resync config/ from GCC. --- config/mh-darwin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/mh-darwin') 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;` -- cgit v1.1