summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/uclibc++/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/uclibc++/Makefile b/openwrt/package/uclibc++/Makefile
index 0e39d5a856..0806a0fc47 100644
--- a/openwrt/package/uclibc++/Makefile
+++ b/openwrt/package/uclibc++/Makefile
@@ -48,7 +48,7 @@ $(PKG_BUILD_DIR)/.config: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.config
$(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS)
+ $(TARGET_CONFIGURE_OPTS) CROSS="$(TARGET_CROSS)"
touch $(PKG_BUILD_DIR)/.built
$(STAGING_DIR)/lib/libuClibc++.so: $(PKG_BUILD_DIR)/.built