[packages] net-tools: ensure that the cross-ar gets used, fixes linker issues on certain systems

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32009 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-05-30 19:21:58 +00:00
parent 176af8f0db
commit 9dbd6d6195

View File

@ -222,6 +222,7 @@ endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \
AR="$(TARGET_CROSS)ar" \
COPTS="$(TARGET_CFLAGS)" COPTS="$(TARGET_CFLAGS)"
endef endef