From 3cc6232e08e7c914fb9b9032f0f2957f7e015cf6 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 21 Jun 2008 01:51:19 -0400 Subject: [PATCH] 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 --- netem/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/netem/Makefile b/netem/Makefile index 3732160d9..2d7d68bb1 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) -- 2.47.2