diff options
author | Martin Liska <mliska@suse.cz> | 2021-04-20 16:56:07 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-05-10 09:13:46 +0200 |
commit | e3a682f4197f9f39808febfd1862e722d7675d34 (patch) | |
tree | f4b4f7c6d8d8a37e96e0f2bde7e6f511619567ed /c++tools | |
parent | arc: Improve vector support for ARCv2. (diff) | |
download | gcc-e3a682f4197f9f39808febfd1862e722d7675d34.tar.gz gcc-e3a682f4197f9f39808febfd1862e722d7675d34.tar.bz2 gcc-e3a682f4197f9f39808febfd1862e722d7675d34.tar.xz |
Use genversion to generate version.h.
c++tools/ChangeLog:
* Makefile.in: Include also ../gcc folder.
gcc/ChangeLog:
* Makefile.in: Rename gcov-iov to genversion and depend
on version.h (instead of gcov-iov.h).
* gcov-io.h: Include version.h instread of gcov-iov.h.
* gengtype-state.c (read_state_version): Likewise.
* gcov-iov.c: Moved to...
* genversion.c: ...here.
* lto-streamer.h (LTO_major_version): Define it with
GCC_major_version.
* version.c: Removed.
* version.h: Removed.
libgcc/ChangeLog:
* libgcov-driver.c (gcov_version): Use different name that does
not clash with newly introduced macro.
Diffstat (limited to 'c++tools')
-rw-r--r-- | c++tools/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++tools/Makefile.in b/c++tools/Makefile.in index 9700706206d..afc87d07ad9 100644 --- a/c++tools/Makefile.in +++ b/c++tools/Makefile.in | |||
@@ -89,9 +89,9 @@ all::g++-mapper-server$(exeext) | |||
89 | 89 | ||
90 | MAPPER.O := server.o resolver.o | 90 | MAPPER.O := server.o resolver.o |
91 | CODYLIB = ../libcody/libcody.a | 91 | CODYLIB = ../libcody/libcody.a |
92 | CXXINC += -I$(srcdir)/../libcody -I$(srcdir)/../include -I$(srcdir)/../gcc -I. | 92 | CXXINC += -I$(srcdir)/../libcody -I$(srcdir)/../include -I$(srcdir)/../gcc -I. -I../gcc |
93 | g++-mapper-server$(exeext): $(MAPPER.O) $(CODYLIB) | 93 | g++-mapper-server$(exeext): $(MAPPER.O) $(CODYLIB) |
94 | +$(CXX) $(LDFLAGS) $(PIEFLAG) -o $@ $^ $(VERSION.O) $(LIBIBERTY) $(NETLIBS) | 94 | +$(CXX) $(LDFLAGS) $(PIEFLAG) -o $@ $^ $(LIBIBERTY) $(NETLIBS) |
95 | 95 | ||
96 | # copy to gcc dir so tests there can run | 96 | # copy to gcc dir so tests there can run |
97 | all::../gcc/g++-mapper-server$(exeext) | 97 | all::../gcc/g++-mapper-server$(exeext) |