fix natpmp breakage introduced in r12937 and make sure that the target cflags actually get used

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12958 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-12 14:02:56 +00:00
parent 86252dcfe0
commit 0ef10b2dcc

View File

@ -32,8 +32,8 @@ define Build/Compile
$(TARGET_CONFIGURE_OPTS) \
CC="$(TARGET_CC)" \
LD="$(TARGET_CC)" \
CCFLAGS="$(strip $(TARGET_CFLAGS))" \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include" -DIPTABLES_PATH=\\\"/usr/sbin\\\"" \
CFLAGS="$(strip $(TARGET_CFLAGS))" \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include -DIPTABLES_PATH=\\\"/usr/sbin\\\"" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
prefix="$(PKG_INSTALL_DIR)/usr"
endef