This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
BOOT_LDFLAGS outside of gcc subdirectory
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 Jun 2011 12:56:20 -0400
- Subject: BOOT_LDFLAGS outside of gcc subdirectory
Why aren't the BOOT_LDFLAGS settings honored outside of the gcc build subdirectory?
On darwin, we are now setting...
BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;`
in config/mh-darwin, and while the generated toplevel Makefile shows...
LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
for POSTSTAGE1_HOST_EXPORTS, this doesn't seem to allow the BOOT_LDFLAGS flags
to travel into any of the builds for libjava, etc in x86_64-apple-darwin11.0.0.
The Makefiles in those subdirectories all show...
LDFLAGS =
such that the -Wl,-no_pie set by BOOT_LDFLAGS is lost. Is this intentional and
how can it be fixed or worked around to honor BOOT_LDFLAGS in all of the library
builds?
Jack