Re: Turn on -pie on darwin11 and later

2011-06-19 Thread Mike Stump
On Jun 16, 2011, at 12:22 PM, Mike Stump wrote: > On Jun 16, 2011, at 5:01 AM, Pedro Alves wrote: >> 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

Re: Turn on -pie on darwin11 and later

2011-06-19 Thread Mike Stump
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.

Re: Turn on -pie on darwin11 and later

2011-06-16 Thread Mike Stump
On Jun 16, 2011, at 5:01 AM, Pedro Alves wrote: > 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;

Re: Turn on -pie on darwin11 and later

2011-06-16 Thread Pedro Alves
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? -- Pedro Alv