move CXXFLAGS to MAKE_VARS
authorFelix Fietkau <nbd@openwrt.org>
Mon, 26 Feb 2007 00:13:41 +0000 (00:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 26 Feb 2007 00:13:41 +0000 (00:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6378 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index 6f39ae6..8f751a1 100644 (file)
@@ -332,12 +332,12 @@ endef
 
 MAKE_VARS := \
        CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \
+       CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \
        LDFLAGS="$(EXTRA_LDFLAGS) "
 
 MAKE_FLAGS := \
        $(TARGET_CONFIGURE_OPTS) \
        CROSS="$(TARGET_CROSS)" \
-       CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \
        ARCH="$(ARCH)"
 
 define Build/Compile/Default