summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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