dhcpcd: update to 6.1.0
[packages.git] / net / dhcpcd / patches / 001-configure_add_cflags_to_getifaddrs_test.patch
1 --- a/configure
2 +++ b/configure
3 @@ -369,7 +369,7 @@ int main(void) {
4         return getifaddrs(&ifap);
5  }
6  EOF
7 -if $XCC _getifaddrs.c -o _getifaddrs 2>/dev/null; then
8 +if $XCC $CFLAGS _getifaddrs.c -o _getifaddrs 2>/dev/null; then
9         echo "yes"
10  else
11         echo "no"