summaryrefslogtreecommitdiff
path: root/Makefile.d/modules/flashrom.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-29 23:18:13 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-29 23:18:13 -0500
commitb9160874be69ca4a08df3f19e2477d0b5fae4c52 (patch)
tree192a4a48bc5f0f5d613a10e8d81a1b329072438d /Makefile.d/modules/flashrom.mk
parent7d68a92e0b043f0fec0561e88aec68d1fe96c9cc (diff)
Compile with -static, set -m32 if in an i686 directory
Diffstat (limited to 'Makefile.d/modules/flashrom.mk')
-rw-r--r--Makefile.d/modules/flashrom.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.d/modules/flashrom.mk b/Makefile.d/modules/flashrom.mk
index c70e6e2..d7dcb94 100644
--- a/Makefile.d/modules/flashrom.mk
+++ b/Makefile.d/modules/flashrom.mk
@@ -13,8 +13,8 @@ endef
$(foreach arch,$(arches),tmp/builddeps-stamps/$(arch)/flashrom): \
tmp/builddeps-stamps/%/flashrom: src/%/flashrom
- $(MAKE) -C $< patchname=_normal
- $(MAKE) -C $< patchname=_lenovobios_macronix
- $(MAKE) -C $< patchname=_lenovobios_sst
+ $(MAKE) CC='$(CC)' -C $< patchname=_normal
+ $(MAKE) CC='$(CC)' -C $< patchname=_lenovobios_macronix
+ $(MAKE) CC='$(CC)' -C $< patchname=_lenovobios_sst
mkdir -p $(@D)
touch $@