From ba930bbc19fee322572bf804b8d4c3a487adbdc2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 22 Jul 2011 12:27:29 -0300 Subject: [PATCH] iproute2: fixup CCOPTS to unbreak build CCOPTS is also used for HOSTCC in the netem/ directory which contains host tools so just ditch it there to avoid extra non-native optimizations to sweep by. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/iproute2/iproute2.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index bafb8c06f4..0e6a431b98 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -34,6 +34,7 @@ define IPROUTE2_CONFIGURE_CMDS endef define IPROUTE2_BUILD_CMDS + $(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile $(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D) endef -- 2.30.2