From dfca4ee6aee92e6d98163a55fe086577507db683 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Oct 2004 18:49:09 +0000 Subject: make sure iproute2 uses target cflags --- package/iproute2/iproute2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/iproute2') diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 4aa840585..e5dd2d46b 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 -- cgit v1.2.3