Ensure the host binary will be compile in 32bits mode

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7260 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-05-16 17:30:00 +00:00
parent ccba02a619
commit 4c7f8e9006

View File

@ -30,7 +30,7 @@ define Package/fortune-mod
endef
define Build/Compile
$(HOSTCC) -Wall -o $(PKG_BUILD_DIR)/util/strfile-host $(PKG_BUILD_DIR)/util/strfile.c -DVERSION=\"$(PKG_VERSION)\"
$(HOSTCC) -Wall -m32 -o $(PKG_BUILD_DIR)/util/strfile-host $(PKG_BUILD_DIR)/util/strfile.c -DVERSION=\"$(PKG_VERSION)\"
$(PKG_BUILD_DIR)/util/strfile-host $(PKG_BUILD_DIR)/datfiles/fortunes $(PKG_BUILD_DIR)/datfiles/fortunes.dat
$(MAKE) -C $(PKG_BUILD_DIR)/fortune
endef