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>
This commit is contained in:
Bertrand Jacquin 2008-06-21 01:51:19 -04:00 committed by Stephen Hemminger
parent e2613dc860
commit 3cc6232e08
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ DISTGEN = maketable normal pareto paretonormal
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
HOSTCC ?= $(CC) HOSTCC ?= $(CC)
CCOPTS = $(CBUILD_CFLAGS)
LDLIBS += -lm LDLIBS += -lm
all: $(DISTGEN) $(DISTDATA) all: $(DISTGEN) $(DISTDATA)