From 5b9fe7768665c278ea58b42617146b18e0a14c13 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 23 Aug 2006 09:13:55 +0000 Subject: [PATCH] Change HOSTCC CFLAGS to avoid segfault of paretonormal when building on Debian, should fix #707 SVN-Revision: 4635 --- .../package/iproute2/patches/004-hostcc_cflags.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openwrt/package/iproute2/patches/004-hostcc_cflags.patch 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 + -- 2.30.2