mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 21:11:41 -09:00
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:
committed by
Peter Korsgaard
parent
332dd196ca
commit
ba930bbc19
@@ -34,6 +34,7 @@ define IPROUTE2_CONFIGURE_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define IPROUTE2_BUILD_CMDS
|
define IPROUTE2_BUILD_CMDS
|
||||||
|
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
|
||||||
$(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
$(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user