mini_snmpd: @champtar requested PKG_FIXUP:=autoreconf take care of strip and CFLAGS options

Signed-off-by: Luke McKee <hojuruku@gmail.com>
This commit is contained in:
Luke McKee 2016-07-12 03:30:34 +07:00
parent 82cf5ca5c6
commit f9dfffb6f0
1 changed files with 0 additions and 9 deletions

View File

@ -50,15 +50,6 @@ CONFIGURE_ARGS+= \
# --disable-debug \
# --disable-demo - Upstream Github Issue #4 Fixed 20160707
# We make sure that only openwrt buildroot does the stripping as per user request via make menuconfig
CONFIGURE_VARS+= LD="$(TARGET_CC)" \
STRIP="/bin/true" \
CFLAGS="$(TARGET_CFLAGS)"
MAKE_FLAGS+= STRIP="/bin/true"
# FYI upstream suggested stripping options
# STRIP="strip -S --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag mini_snmpd"
define Package/mini_snmpd/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mini_snmpd $(1)/usr/bin/