]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove version.h from object files
authorMartin Liska <mliska@suse.cz>
Wed, 12 May 2021 08:51:21 +0000 (10:51 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 12 May 2021 08:52:41 +0000 (10:52 +0200)
gcc/ChangeLog:

PR bootstrap/100560
* Makefile.in: Remove version.h from linker command line.

gcc/Makefile.in

index 487db220d8c759603a482f790fd14f1e10948daf..1b5d3f4696caf8358a4492b8adfb249496fe6354 100644 (file)
@@ -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)