aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGiuliano Belinassi <giuliano.belinassi@usp.br>2020-07-31 22:09:49 -0300
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-07-31 22:09:49 -0300
commitbbd954d9e8fe8bc754c8b5598b789de46d914e10 (patch)
tree52e622d8424ddbaca0471ced94366a2541d0f412 /gcc
parent41bb87a198d73a019a390e0f4d1254e22fac0d71 (diff)
downloadgcc-bbd954d9e8fe8bc754c8b5598b789de46d914e10.zip
gcc-bbd954d9e8fe8bc754c8b5598b789de46d914e10.tar.gz
gcc-bbd954d9e8fe8bc754c8b5598b789de46d914e10.tar.bz2
Add `+' for Jobserver Integration
GNU Make expects that a `+' token is present on the beggining of the rule command if it wants to interact with the Jobserver. This commit add such token. gcc/ChangeLog: intl/ChageLog: libbacktrace/ChangeLog: libcpp/ChangeLog: libdecnumber/ChangeLog: libiberty/ChangeLog: zlib/ChangeLog: 2020-07-31 Giuliano Belinassi <giuliano.belinassi@usp.br> * Makefile.in: Use `+' on rule calling GCC.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/Makefile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e79d480..2d32f7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-31 Giuliano Belinassi <giuliano.belinassi@usp.br>
+
+ * Makefile.in: Use `+' on rule calling GCC
+
2020-07-29 Giuliano Belinassi <giuliano.belinassi@usp.br>
* cgraphunit.c (lto_merge_comdat_map): Avoid crash due to
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 60d36bd..abccd2a 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2698,14 +2698,14 @@ generated_files = config.h tm.h $(TM_P_H) $(TM_D_H) $(TM_H) multilib.h \
# How to compile object files to run on the build machine.
build/%.o : # dependencies provided by explicit rule later
- $(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(BUILD_CPPFLAGS) \
+ +$(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(BUILD_CPPFLAGS) \
-o $@ $<
## build/version.o is compiled by the $(COMPILER_FOR_BUILD) but needs
## several C macro definitions, just like version.o
build/version.o: version.c version.h \
$(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE)
- $(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(BUILD_CPPFLAGS) \
+ +$(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(BUILD_CPPFLAGS) \
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
-DREVISION=$(REVISION_s) \
-DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \