From 280fa5a1a22712ce4f6c96ec121d1ab71af3ca09 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 19 Feb 2013 17:22:55 +0000
Subject: [PATCH] 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
---
 package/network/utils/dante/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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/
-- 
GitLab