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>
This commit is contained in:
parent
332dd196ca
commit
ba930bbc19
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user