From 28e42ce589af6fb9d241293b0c0a2fd491b883cd Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 4 Oct 2006 17:13:24 +0000 Subject: [PATCH] override cflags (not honored by ./configure) SVN-Revision: 4910 --- 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.30.2