From: Nicolas Thill Date: Fri, 27 Oct 2006 19:34:09 +0000 (+0000) Subject: fix conflicting optimization flags set by configure X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b4fec06ea6cece3a363cb491b0f137ea0000c484;p=openwrt%2Fsvn-archive%2Farchive.git fix conflicting optimization flags set by configure SVN-Revision: 5316 --- diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile index 9200549220..dbf33101c9 100644 --- a/net/ettercap/Makefile +++ b/net/ettercap/Makefile @@ -38,6 +38,12 @@ define Package/ettercap/conffiles /etc/etter.conf endef +define Build/Prepare + $(call Build/Prepare/Default) + # remove default optimization flags set by configure + $(SED) 's,DEBUG_FLAGS=.*,DEBUG_FLAGS=,g' $(PKG_BUILD_DIR)/configure +endef + define Build/Configure $(call Build/Configure/Default, \ --with-libpcap="$(STAGING_DIR)/usr" \ @@ -53,7 +59,6 @@ define Build/Configure ) endef - define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \