From b4fec06ea6cece3a363cb491b0f137ea0000c484 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 27 Oct 2006 19:34:09 +0000 Subject: [PATCH] fix conflicting optimization flags set by configure SVN-Revision: 5316 --- net/ettercap/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)" \ -- 2.30.2