* Fixed cross compiling
authorSteven Barth <steven@midlink.org>
Thu, 12 Jun 2008 08:45:05 +0000 (08:45 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 12 Jun 2008 08:45:05 +0000 (08:45 +0000)
contrib/package/luci/Makefile
libs/sgi-webuci/Makefile

index af662f8cb36f75ca6ee1c03c8a8f3b9b77816ac3..a059d0cfc3cc75f14501df8b4b3167e5accce90d 100644 (file)
@@ -450,7 +450,9 @@ ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
 endif
 
 
-MAKE_FLAGS += MODULES="$(PKG_SELECTED_MODULES)" LUA_TARGET="$(LUA_TARGET)" CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" LDFLAGS="$(TARGET_LDFLAGS)"
+MAKE_FLAGS += MODULES="$(PKG_SELECTED_MODULES)" LUA_TARGET="$(LUA_TARGET)" \
+CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" LDFLAGS="$(TARGET_LDFLAGS)" \
+CFOPTS="$(TARGET_CONFIGURE_OPTS)"
 
 
 $(eval $(call BuildPackage,luci-core))
index 656db032e79a8959ebb4ce8ab191b3e4d1616306..6758a2cbe86f680d8699ceac459e7c47c63986aa 100644 (file)
@@ -32,7 +32,7 @@ $(BOA_DIR)/.patched: $(BOA_DIR)/.prepared $(BOA_PATCHDIR)/series
        touch $@
 
 $(BOA_DIR)/.configured: $(BOA_DIR)/.patched
-       (cd $(BOA_DIR); ./configure --disable-debug --disable-gunzip) 
+       (cd $(BOA_DIR); ./configure --disable-debug --disable-gunzip $(CFOPTS)
        touch $@
 
 boa-compile: $(BOA_DIR)/.configured