* [build] Link gengtype with $(LDFLAGS)
@ 2011-08-08 12:30 Rainer Orth
2011-08-08 13:04 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Rainer Orth @ 2011-08-08 12:30 UTC (permalink / raw)
To: gcc-patches; +Cc: Paolo Bonzini
IRIX 6.5 bootstrap was broken this weekend: gengtype failed to link in
stage2 since it was linked with -lstdc++ (for graphite, from HOST_LIBS),
but LDFLAGS (which provides the necessary -L option) is missing.
With this patch, the bootstrap continues.
I suppose this is obvious?
Rainer
2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* Makefile.in (gengtype$(exeext)): Add $(LDFLAGS).
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3986,7 +3986,8 @@ build/gengtype$(build_exeext) : build/ge
gengtype$(exeext) : gengtype.o gengtype-lex.o gengtype-parse.o \
gengtype-state.o version.o errors.o $(LIBDEPS)
- +$(LINKER) $(ALL_LINKERFLAGS) -o $@ $(filter-out ($LIBDEPS), $^) $(LIBS)
+ +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
+ $(filter-out ($LIBDEPS), $^) $(LIBS)
# Rule for the generator programs:
$(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [build] Link gengtype with $(LDFLAGS)
2011-08-08 12:30 [build] Link gengtype with $(LDFLAGS) Rainer Orth
@ 2011-08-08 13:04 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2011-08-08 13:04 UTC (permalink / raw)
To: Rainer Orth; +Cc: gcc-patches
On 08/08/2011 02:21 PM, Rainer Orth wrote:
> IRIX 6.5 bootstrap was broken this weekend: gengtype failed to link in
> stage2 since it was linked with -lstdc++ (for graphite, from HOST_LIBS),
> but LDFLAGS (which provides the necessary -L option) is missing.
>
> With this patch, the bootstrap continues.
>
> I suppose this is obvious?
Yes.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-08 12:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08 12:30 [build] Link gengtype with $(LDFLAGS) Rainer Orth
2011-08-08 13:04 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).