fix ipkg install bug (default arch was not set)
authorNicolas Thill <nico@openwrt.org>
Mon, 29 Aug 2005 20:08:19 +0000 (20:08 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 29 Aug 2005 20:08:19 +0000 (20:08 +0000)
SVN-Revision: 1786

openwrt/package/busybox/Makefile

index 1b11c87b270a738cab693c1554cb9a10254f0026..907a848d11f0143870f7066f7e30447d4c24a1d0 100644 (file)
@@ -32,7 +32,7 @@ $(PKG_BUILD_DIR)/.configured:
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(IDIR_BUSYBOX)" \
-               EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)
+               EXTRA_CFLAGS="$(TARGET_CFLAGS)" ARCH="$(ARCH)" -C $(PKG_BUILD_DIR)
        touch $@
 
 $(IPKG_BUSYBOX):