From b6ee5bef6e5105339c907c68e1885971a8c0c500 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 8 Aug 2011 12:36:51 +0000 Subject: [PATCH] * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). From-SVN: r177562 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a59c77f2d2..ac35dd68115 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-08 Rainer Orth + + * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). + 2011-08-08 Rainer Orth * doc/invoke.texi (DEC Alpha Options, -mcpu): native support isn't diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 368100b0835..3bcd5445242 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3989,7 +3989,8 @@ build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \ 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) -- 2.30.2