summaryrefslogtreecommitdiff
path: root/util/futility
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2016-03-30 20:59:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-04-05 13:36:32 +0200
commitb88d57c2d49ec3c3bc6eadf3b8c943b608157b9a (patch)
tree90b32ff719204f3b9734c0462273f9a075e303db /util/futility
parent47a9af483c4a0258a97981bfa1bbe4177a8043a8 (diff)
futility: don't pass toolchain flags into futility's build
cros_sdk puts weird stuff into CFLAGS and LDFLAGS and we never care because we don't use CFLAGS. futility's Makefiles do. BUG=chromium:595715 BRANCH=none TEST=none Change-Id: I512d5adb55cad8b31dc29d9c076ecd5d9c701cf6 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 58739332ddba7ef759aac37f3a4410dd487f210f Original-Change-Id: I66898c7e66d808047b0326c7471c64eaae950b15 Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/336436 Original-Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Original-Tested-by: Patrick Georgi <pgeorgi@chromium.org> Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/14237 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/futility')
-rw-r--r--util/futility/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc
index 26b218d742..d37be4b497 100644
--- a/util/futility/Makefile.inc
+++ b/util/futility/Makefile.inc
@@ -2,7 +2,7 @@ additional-dirs += $(objutil)/futility
$(objutil)/futility/build/futility/futility:
@printf " MAKE $(subst $(objutil)/,,$(@))\n"
- $(MAKE) -C $(VB_SOURCE) \
+ unset CFLAGS LDFLAGS; $(MAKE) -C $(VB_SOURCE) \
BUILD=$(abspath $@/../..) \
CC="$(HOSTCC)" \
V=$(V) \