[Buildroot] [PATCH] iproute2: fixup CCOPTS to unbreak build
Gustavo Zacarias
gustavo at zacarias.com.ar
Fri Jul 22 15:27:29 UTC 2011
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>
---
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