From: Bertrand Jacquin <redacted>
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 <redacted>
---
netem/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/netem/Makefile b/netem/Makefile
index 3732160..2d7d68b 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)
--
1.5.5.3