Message ID | ACBE52C1-542A-4643-97C7-5171AFB8DDCD@comcast.net |
---|---|
State | New |
Headers | show |
On Thursday 16 June 2011 02:33:50, Mike Stump wrote: > 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;` Shouldn't this use += like BOOT_CFLAGS?
On Jun 15, 2011, at 6:33 PM, Mike Stump wrote:
> * mh-darwin: Turn off -pie on darwin11 and later.
Also backported for gcc 4.5.4 and 4.6.1.
Index: mh-darwin =================================================================== --- mh-darwin (revision 174625) +++ mh-darwin (working copy) @@ -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;`