[Buildroot] [git commit] iproute2: fixup CCOPTS to unbreak build
Gustavo Zacarias
gustavo at zacarias.com.ar
Sun Jul 24 21:11:17 UTC 2011
commit: http://git.buildroot.net/buildroot/commit/?id=ba930bbc19fee322572bf804b8d4c3a487adbdc2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
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 bafb8c0..0e6a431 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
--
1.7.3.4
More information about the buildroot
mailing list