Change HOSTCC CFLAGS to avoid segfault of paretonormal when building on Debian, shoul...
authorFlorian Fainelli <florian@openwrt.org>
Wed, 23 Aug 2006 09:13:55 +0000 (09:13 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 23 Aug 2006 09:13:55 +0000 (09:13 +0000)
SVN-Revision: 4635

openwrt/package/iproute2/patches/004-hostcc_cflags.patch [new file with mode: 0644]

diff --git a/openwrt/package/iproute2/patches/004-hostcc_cflags.patch b/openwrt/package/iproute2/patches/004-hostcc_cflags.patch
new file mode 100644 (file)
index 0000000..6584f57
--- /dev/null
@@ -0,0 +1,10 @@
+diff -urN iproute2-2.6.11-050330/netem/Makefile iproute2-2.6.11-050330.new/netem/Makefile
+--- iproute2-2.6.11-050330/netem/Makefile      2005-04-01 21:58:11.000000000 +0200
++++ iproute2-2.6.11-050330.new/netem/Makefile  2006-08-23 10:23:05.000000000 +0200
+@@ -1,5 +1,6 @@
+ DISTGEN = maketable normal pareto paretonormal
+ DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
++CFLAGS = -D_GNU_SOURCE -Os -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES
+ LDLIBS += -lm