From: Florian Fainelli Date: Wed, 23 Aug 2006 09:13:55 +0000 (+0000) Subject: Change HOSTCC CFLAGS to avoid segfault of paretonormal when building on Debian, shoul... X-Git-Tag: whiterussian_rc6~165 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b9fe7768665c278ea58b42617146b18e0a14c13;p=openwrt%2Fsvn-archive%2Fopenwrt.git Change HOSTCC CFLAGS to avoid segfault of paretonormal when building on Debian, should fix #707 SVN-Revision: 4635 --- diff --git a/openwrt/package/iproute2/patches/004-hostcc_cflags.patch b/openwrt/package/iproute2/patches/004-hostcc_cflags.patch new file mode 100644 index 0000000000..6584f57c4b --- /dev/null +++ b/openwrt/package/iproute2/patches/004-hostcc_cflags.patch @@ -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 +