From 75b6133098753a31b722f94b86e95b11323735f0 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 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;` -- cgit v1.2.3