fix conflicting optimization flags set by configure
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5316 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d077230f13
commit
aeeaa8b652
@ -38,6 +38,12 @@ define Package/ettercap/conffiles
|
|||||||
/etc/etter.conf
|
/etc/etter.conf
|
||||||
endef
|
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
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--with-libpcap="$(STAGING_DIR)/usr" \
|
--with-libpcap="$(STAGING_DIR)/usr" \
|
||||||
@ -53,7 +59,6 @@ define Build/Configure
|
|||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user