summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 21:11:01 -0300
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-20 16:51:07 -0300
commit2f8fdee3a35f691e9a190b0e83fa0310a8250012 (patch)
tree05a57897287467b613119094609aba8f0e42d9aa /gcc/Makefile.in
parent82d1c7e47a05fcfb7bd64e534b7e98d055047e72 (diff)
downloadgcc-2f8fdee3a35f691e9a190b0e83fa0310a8250012.tar.gz
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 [1]. This commit add such token for the Makefiles in GCC. [1] https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html#POSIX-Jobserver gcc/ChangeLog: intl/ChageLog: libbacktrace/ChangeLog: libcpp/ChangeLog: libdecnumber/ChangeLog: libiberty/ChangeLog: zlib/ChangeLog: 2020-08-20 Giuliano Belinassi <giuliano.belinassi@usp.br> * Makefile.in: Use `+' on rule calling GCC.
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index c00617cfc1a..2e7aa4b6d30 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2703,14 +2703,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) \