Turn on -pie on darwin11 and later

Pedro Alves pedro@codesourcery.com
Thu Jun 16 12:11:00 GMT 2011


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 Alves



More information about the Gcc-patches mailing list