summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-29 00:05:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-29 00:05:48 +0000
commit66bce4ab80ad92cb66c6ea4ffe9c74f1addcfde5 (patch)
tree743a8a9fe10f2ef0ca42f2d4799c412cb29e4687
parenta6b7402fe6b33a4025476fec464c0f32cdec2ebf (diff)
use lazy evaluation for TARGET_CONFIGURE_OPTS to make it possible to override TARGET_CC and TARGET_CXX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20566 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index c1ff95c0a..f913d9856 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 \