summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
commit26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch)
tree22f152f92d6c1e9c325583f46278a385ffefd38b /package/iproute2/patches/patch-netem_Makefile
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
another round of native compile fixes
Diffstat (limited to 'package/iproute2/patches/patch-netem_Makefile')
-rw-r--r--package/iproute2/patches/patch-netem_Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/iproute2/patches/patch-netem_Makefile b/package/iproute2/patches/patch-netem_Makefile
index b0aa792f7..e49ab4415 100644
--- a/package/iproute2/patches/patch-netem_Makefile
+++ b/package/iproute2/patches/patch-netem_Makefile
@@ -1,27 +1,27 @@
--- iproute2-2.6.37.orig/netem/Makefile 2011-01-07 18:54:30.000000000 +0100
-+++ iproute2-2.6.37/netem/Makefile 2011-01-18 02:19:41.386925447 +0100
-@@ -2,13 +2,13 @@ DISTGEN = maketable normal pareto pareto
++++ iproute2-2.6.37/netem/Makefile 2011-02-25 19:59:34.000000000 +0100
+@@ -1,14 +1,12 @@
+ DISTGEN = maketable normal pareto paretonormal
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
- HOSTCC ?= $(CC)
+-HOSTCC ?= $(CC)
-CCOPTS = $(CBUILD_CFLAGS)
-+HOSTCFLAGS ?=
LDLIBS += -lm
all: $(DISTGEN) $(DISTDATA)
$(DISTGEN):
- $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
-+ $(HOSTCC) $(HOSTCFLAGS) -I../include -o $@ $@.c -lm
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I../include -o $@ $@.c -lm
%.dist: %
./$* > $@
-@@ -17,7 +17,7 @@ experimental.dist: maketable experimenta
+@@ -17,7 +15,7 @@ experimental.dist: maketable experimenta
./maketable experimental.dat > experimental.dist
stats: stats.c
- $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
-+ $(HOSTCC) $(HOSTCFLAGS) -I../include -o $@ $@.c -lm
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I../include -o $@ $@.c -lm
install: all
mkdir -p $(DESTDIR)$(LIBDIR)/tc