summaryrefslogtreecommitdiff
path: root/netem
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2008-06-21 01:51:19 -0400
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-23 09:17:48 -0700
commit3cc6232e08e7c914fb9b9032f0f2957f7e015cf6 (patch)
treefafadda3b9961815be4b77ba9bdd3aceb5a578a8 /netem
parente2613dc8605e56dbc53890ebbae263f93610bd41 (diff)
downloadiproute2-3cc6232e08e7c914fb9b9032f0f2957f7e015cf6.tar.gz
netem: fix cross-compiling failure
The programs in netem are compiled and run on the build machine, but they use the CFLAGS that are meant for the target system and often times, these are incompatible. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'netem')
-rw-r--r--netem/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/netem/Makefile b/netem/Makefile
index 3732160d..2d7d68bb 100644
--- a/netem/Makefile
+++ b/netem/Makefile
@@ -2,6 +2,7 @@ DISTGEN = maketable normal pareto paretonormal
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
HOSTCC ?= $(CC)
+CCOPTS = $(CBUILD_CFLAGS)
LDLIBS += -lm
all: $(DISTGEN) $(DISTDATA)