summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-29 00:05:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-29 00:05:48 +0000
commitdd046f47599ab96b56c4d66a882f685735df9e40 (patch)
tree121991a9413f24a06b527bee3c2b0c940f02041f /rules.mk
parent51fb4cee31888a0fa1eedf90c62d16108df42451 (diff)
downloadmtk-20170518-dd046f47599ab96b56c4d66a882f685735df9e40.zip
mtk-20170518-dd046f47599ab96b56c4d66a882f685735df9e40.tar.gz
mtk-20170518-dd046f47599ab96b56c4d66a882f685735df9e40.tar.bz2
use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX
SVN-Revision: 20566
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index c1ff95c..f913d98 100644
--- a/rules.mk
+++ b/rules.mk
@@ -172,7 +172,7 @@ ifneq ($(CONFIG_CCACHE),)
TARGET_CC:= ccache $(TARGET_CC)
endif
-TARGET_CONFIGURE_OPTS:= \
+TARGET_CONFIGURE_OPTS = \
AR=$(TARGET_CROSS)ar \
AS="$(TARGET_CC) -c $(TARGET_CFLAGS)" \
LD=$(TARGET_CROSS)ld \