* [PATCH][OBVIOUS] Remove version.h from object files
@ 2021-05-12 8:52 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2021-05-12 8:52 UTC (permalink / raw)
To: gcc-patches
Pushed as obvious.
Martin
gcc/ChangeLog:
PR bootstrap/100560
* Makefile.in: Remove version.h from linker command line.
---
gcc/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 487db220d8c..1b5d3f4696c 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)
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-12 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 8:52 [PATCH][OBVIOUS] Remove version.h from object files Martin Liška
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).