From: Mike Frysinger Date: Sat, 9 Oct 2004 18:49:09 +0000 (-0000) Subject: make sure iproute2 uses target cflags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dfca4ee6aee92e6d98163a55fe086577507db683;p=buildroot.git make sure iproute2 uses target cflags --- diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 4aa840585f..e5dd2d46b7 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -22,7 +22,8 @@ $(IPROUTE2_DIR)/.unpacked: $(DL_DIR)/$(IPROUTE2_SOURCE) $(IPROUTE2_DIR)/.configured: $(IPROUTE2_DIR)/.unpacked (cd $(IPROUTE2_DIR); \ ./configure; \ - $(SED) '/TC_CONFIG_ATM/s:=.*:=n:' Config) + $(SED) '/TC_CONFIG_ATM/s:=.*:=n:' Config; \ + $(SED) '/^CCOPTS/s:-O2.*:$(TARGET_CFLAGS):' Makefile) touch $(IPROUTE2_DIR)/.configured $(IPROUTE2_DIR)/$(IPROUTE2_BINARY): $(IPROUTE2_DIR)/.configured