aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/100-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/100-configure.patch')
-rw-r--r--package/network/utils/iproute2/patches/100-configure.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/100-configure.patch b/package/network/utils/iproute2/patches/100-configure.patch
new file mode 100644
index 0000000000..248b1c0e01
--- /dev/null
+++ b/package/network/utils/iproute2/patches/100-configure.patch
@@ -0,0 +1,12 @@
+--- a/configure
++++ b/configure
+@@ -32,7 +32,8 @@ int main(int argc, char **argv) {
+ }
+ EOF
+
+- if $CC -I$INCLUDE -o $TMPDIR/atmtest $TMPDIR/atmtest.c -latm >/dev/null 2>&1; then
++# OpenWrt: disable ATM support even if present on host system
++ if [ 1 -eq 0 ]; then
+ echo "TC_CONFIG_ATM:=y" >>$CONFIG
+ echo yes
+ else