LDFLAGS gets lost during bootstrap

Ian Lance Taylor iant@google.com
Tue Mar 13 21:13:00 GMT 2012


Christer Solskogen <christer.solskogen@gmail.com> writes:

> My ldflags is
> "-Wl,-I,$HOME/obj/tools/lib/ld-linux-x86-64.so.2,-rpath,$HOME/obj/tools/lib"
> - but during bootstrap they are lost. How can I ensure that the
> LDFLAGS that I want is being used in every stage? I've also tried
> setting BOOT_FLAGS=${LDFLAGS} as well, but still no go.

That's BOOT_LDFLAGS.  See also the configure option --with-boot-ldflags.

Ian



More information about the Gcc-help mailing list