Skip to content

Commit d80c951

Browse files
melakdpgeorge
authored andcommitted
unix/Makefile: replace references to make with $(MAKE)
make is not always GNU make; the latter may go by different names. This helps builds on systems where the default make is not GNU make.
1 parent 1dd18c5 commit d80c951

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unix/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,15 @@ libffi:
278278
cd ../lib/libffi; ./autogen.sh
279279
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \
280280
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \
281-
make install-exec-recursive; make -C include install-data-am
281+
$(MAKE) install-exec-recursive; $(MAKE) -C include install-data-am
282282

283283
axtls: $(BUILD)/libaxtls.a
284284

285285
$(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS)
286286
cd ../lib/axtls; cp config/upyconfig config/.config
287-
cd ../lib/axtls; make oldconfig -B
288-
cd ../lib/axtls; make clean
289-
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"
287+
cd ../lib/axtls; $(MAKE) oldconfig -B
288+
cd ../lib/axtls; $(MAKE) clean
289+
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)"
290290
cp ../lib/axtls/_stage/libaxtls.a $@
291291

292292
../lib/axtls/README:

0 commit comments

Comments
 (0)