diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-22 23:49:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-22 23:49:52 +0200 |
commit | 54893039866e0978bd6563e2b7361f7736341163 (patch) | |
tree | f757d7250af9964234530e8d7f480951ab63c7aa /package/iproute2/patches/patch-configure | |
parent | 2c84de509054d770081084ca223f55b67ef945db (diff) | |
parent | ba0c06d2bb46e087f1782eb76573e0bef735c062 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iproute2/patches/patch-configure')
-rw-r--r-- | package/iproute2/patches/patch-configure | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-configure b/package/iproute2/patches/patch-configure new file mode 100644 index 000000000..38586090d --- /dev/null +++ b/package/iproute2/patches/patch-configure @@ -0,0 +1,30 @@ + use the compiler passed in $CC +--- iproute2-2.6.29-1.orig/configure 2009-03-24 23:40:54.000000000 +0100 ++++ iproute2-2.6.29-1/configure 2009-08-22 02:23:52.642364236 +0200 +@@ -16,7 +16,7 @@ int main(int argc, char **argv) { + return 0; + } + EOF +-gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 ++$CC -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 + if [ $? -eq 0 ] + then + echo "TC_CONFIG_ATM:=y" >>Config +@@ -49,7 +49,7 @@ int main(int argc, char **argv) { + } + + EOF +-gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1 ++$CC -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1 + + if [ $? -eq 0 ] + then +@@ -81,7 +81,7 @@ int main(int argc, char **argv) { + } + + EOF +-gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1 ++$CC -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1 + + if [ $? -eq 0 ] + then |