dante: fix broken configure script not using CFLAGS for conftest

Spotted by doing an ARM hard float build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35685
lede-17.01
Florian Fainelli 2013-02-19 17:22:55 +00:00
parent 16f7554f95
commit 280fa5a1a2
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ CONFIGURE_ARGS += \
--without-pam \ --without-pam \
--disable-libwrap --disable-libwrap
CONFIGURE_VARS += \
CC="$(TARGET_CC) $(TARGET_CFLAGS)"
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/