diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-07-22 12:27:29 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-07-24 21:21:36 +0200 |
commit | ba930bbc19fee322572bf804b8d4c3a487adbdc2 (patch) | |
tree | 84ff8a148af7aef8b9f28ac08fdbbc8cdf456cd0 /package | |
parent | 332dd196cad4fa1a9b0257b08091b902efa5a7c2 (diff) | |
download | buildroot-ba930bbc19fee322572bf804b8d4c3a487adbdc2.tar.gz buildroot-ba930bbc19fee322572bf804b8d4c3a487adbdc2.zip |
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')
-rw-r--r-- | package/iproute2/iproute2.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 |