diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
commit | b9160874be69ca4a08df3f19e2477d0b5fae4c52 (patch) | |
tree | 192a4a48bc5f0f5d613a10e8d81a1b329072438d /Makefile.d/modules.mk | |
parent | 7d68a92e0b043f0fec0561e88aec68d1fe96c9cc (diff) |
Compile with -static, set -m32 if in an i686 directory
Diffstat (limited to 'Makefile.d/modules.mk')
-rw-r--r-- | Makefile.d/modules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.d/modules.mk b/Makefile.d/modules.mk index d08a55c..0a541f4 100644 --- a/Makefile.d/modules.mk +++ b/Makefile.d/modules.mk @@ -32,7 +32,7 @@ $(eval $(call multiglob,download,arch module)) tmp/builddeps-stamps/%: src/% cd $< && { test -f ./Makefile || test -x ./configure || ./autogen.sh; } cd $< && { test -f ./Makefile || ./configure $($(*F)_configure); } - $(MAKE) -C $< + $(MAKE) CC='$(CC)' -C $< mkdir -p $(@D) touch $@ @@ -41,4 +41,4 @@ $(foreach arch,$(arches),$(foreach module,$(modules), cleandeps-$(arch)/$(module cleandeps-%: PHONY cleandeps-%-custom rm -f tmp/builddeps-stamps/% cleandeps-%-custom: PHONY - test ! -f src/$*/Makefile || $(MAKE) -C src/$* clean + test ! -f src/$*/Makefile || $(MAKE) CC='$(CC)' -C src/$* clean |