From: Martin Liska Date: Wed, 12 May 2021 08:51:21 +0000 (+0200) Subject: Remove version.h from object files X-Git-Tag: basepoints/gcc-13~7574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd39327854de1d18110fada5f8a7a4630da6d144;p=thirdparty%2Fgcc.git Remove version.h from object files gcc/ChangeLog: PR bootstrap/100560 * Makefile.in: Remove version.h from linker command line. --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 487db220d8c7..1b5d3f4696ca 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2942,10 +2942,10 @@ build/genmatch$(build_exeext) : $(BUILD_CPPLIB) \ # These programs are not linked with the MD reader. build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \ - build/gengtype-state.o version.h build/errors.o + build/gengtype-state.o build/errors.o gengtype$(exeext) : gengtype.o gengtype-lex.o gengtype-parse.o \ - gengtype-state.o version.h errors.o $(LIBDEPS) + gengtype-state.o errors.o $(LIBDEPS) +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ $(filter-out ($LIBDEPS), $^) $(LIBS)