summaryrefslogtreecommitdiff
path: root/package/iproute2/iproute2.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-07-22 12:27:29 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-24 21:21:36 +0200
commitba930bbc19fee322572bf804b8d4c3a487adbdc2 (patch)
tree84ff8a148af7aef8b9f28ac08fdbbc8cdf456cd0 /package/iproute2/iproute2.mk
parent332dd196cad4fa1a9b0257b08091b902efa5a7c2 (diff)
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 <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/iproute2/iproute2.mk')
-rw-r--r--package/iproute2/iproute2.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index bafb8c06f..0e6a431b9 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