From: nico Date: Wed, 4 Oct 2006 17:13:24 +0000 (+0000) Subject: override cflags (not honored by ./configure) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b5e948c3564719297df0a94468ebdf7d1bc1f458;p=packages.git override cflags (not honored by ./configure) git-svn-id: svn://svn.openwrt.org/openwrt/packages@4910 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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