Skip to content

Commit c6258eb

Browse files
orbeamanugarg
authored andcommitted
build: Don't quote $(MAKE)
The $(MAKE) variable may contain make(1) arguments in addition to the make(1) command. Downstream issue: https://bugs.gentoo.org/793425 Signed-off-by: orbea <orbea@riseup.net>
1 parent cf49b15 commit c6258eb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ MAN_PREFIX = $(PREFIX)/share/man
8080
all: testpactester
8181

8282
jsapi_buildstamp: spidermonkey/js/src
83-
cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" "$(MAKE)" jsapi
83+
cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" $(MAKE) jsapi
8484
touch jsapi_buildstamp
8585

8686
libjs.a: spidermonkey/js/src
87-
cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" "$(MAKE)" jslib
87+
cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" $(MAKE) jslib
8888

8989
pacparser.o: pacparser.c pac_utils.h pacparser.h jsapi_buildstamp
9090
$(CC) $(CFLAGS) $(SHFLAGS) -c pacparser.c -o pacparser.o
@@ -137,4 +137,4 @@ install-pymod: pymod
137137
clean:
138138
rm -f $(LIBRARY_LINK) $(LIBRARY) libjs.a pacparser.o pactester pymod/pacparser_o_buildstamp jsapi_buildstamp
139139
cd pymod && $(PYTHON) setup.py clean --all
140-
cd spidermonkey && "$(MAKE)" clean
140+
cd spidermonkey && $(MAKE) clean

src/spidermonkey/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jslib: js-buildstamp
3232

3333
js-buildstamp:
3434
mkdir -p js/src/$(OBJDIR)
35-
CFLAGS="$(SMCFLAGS)" "$(MAKE)" -C js/src -f Makefile.ref libjs.a
35+
CFLAGS="$(SMCFLAGS)" $(MAKE) -C js/src -f Makefile.ref libjs.a
3636
find js/src -name "jsautocfg.h" -exec cp {} js/src \;
3737
touch js-buildstamp
3838

0 commit comments

Comments
 (0)