From: Rainer Orth Date: Mon, 8 Aug 2011 12:36:51 +0000 (+0000) Subject: * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6ee5bef6e5105339c907c68e1885971a8c0c500;p=gcc.git * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). From-SVN: r177562 --- 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)