From b5e948c3564719297df0a94468ebdf7d1bc1f458 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 4 Oct 2006 17:13:24 +0000 Subject: [PATCH] override cflags (not honored by ./configure) git-svn-id: svn://svn.openwrt.org/openwrt/packages@4910 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libnet-1.0.x/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libnet-1.0.x/Makefile b/libs/libnet-1.0.x/Makefile index 2161e5ef7..9a125200c 100644 --- a/libs/libnet-1.0.x/Makefile +++ b/libs/libnet-1.0.x/Makefile @@ -55,7 +55,9 @@ define Build/Configure endef define Build/Compile + # pass CFLAGS again to override -O2 set by configure $(MAKE) -C $(PKG_BUILD_DIR) \ + CFLAGS="$(TARGET_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install endef -- 2.11.0