1 use the compiler passed in $CC
2 --- iproute2-2.6.29-1.orig/configure 2009-03-24 23:40:54.000000000 +0100
3 +++ iproute2-2.6.29-1/configure 2009-08-22 02:23:52.642364236 +0200
4 @@ -16,7 +16,7 @@ int main(int argc, char **argv) {
8 -gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1
9 +$CC -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1
12 echo "TC_CONFIG_ATM:=y" >>Config
13 @@ -49,7 +49,7 @@ int main(int argc, char **argv) {
17 -gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1
18 +$CC -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1
22 @@ -81,7 +81,7 @@ int main(int argc, char **argv) {
26 -gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1
27 +$CC -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1