From: Florian Fainelli Date: Tue, 19 Feb 2013 17:22:55 +0000 (+0000) Subject: dante: fix broken configure script not using CFLAGS for conftest X-Git-Tag: reboot~11207 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=280fa5a1a22712ce4f6c96ec121d1ab71af3ca09;p=oweals%2Fopenwrt.git dante: fix broken configure script not using CFLAGS for conftest Spotted by doing an ARM hard float build. Signed-off-by: Florian Fainelli SVN-Revision: 35685 --- diff --git a/package/network/utils/dante/Makefile b/package/network/utils/dante/Makefile index 90768ad474..cdd472b9ee 100644 --- a/package/network/utils/dante/Makefile +++ b/package/network/utils/dante/Makefile @@ -28,6 +28,9 @@ CONFIGURE_ARGS += \ --without-pam \ --disable-libwrap +CONFIGURE_VARS += \ + CC="$(TARGET_CC) $(TARGET_CFLAGS)" + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/