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:
parent
e2613dc860
commit
3cc6232e08
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue