packages/net/dhcpcd/patches/001-configure_add_cflags_to_getifaddrs_test.patch
florian ee7b071f1d dhcpcd: update to 6.1.0
DHCPv6 and other features
see: http://roy.marples.name/projects/dhcpcd/wiki/DhcpcdHistory

-update download location
-install default dhcpcd hooks script and example hooks

v2:
-add CFLAGS to configure test

configure test failed silently on OMAP because of missing CFLAGS (-mfloat-abi=hard) with
../arm-openwrt-linux-uclibcgnueabi/bin/ld: error: _getifaddrs uses VFP register arguments

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 00:57:47 +00:00

12 lines
256 B
Diff

--- a/configure
+++ b/configure
@@ -369,7 +369,7 @@ int main(void) {
return getifaddrs(&ifap);
}
EOF
-if $XCC _getifaddrs.c -o _getifaddrs 2>/dev/null; then
+if $XCC $CFLAGS _getifaddrs.c -o _getifaddrs 2>/dev/null; then
echo "yes"
else
echo "no"