From: nico Date: Fri, 27 Oct 2006 19:34:09 +0000 (+0000) Subject: fix conflicting optimization flags set by configure X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=aeeaa8b652a4b2e0f0d8785b8e1fd5cd5a0870ce;p=packages.git fix conflicting optimization flags set by configure git-svn-id: svn://svn.openwrt.org/openwrt/packages@5316 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/ettercap/Makefile b/net/ettercap/Makefile index 920054922..dbf33101c 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)" \