Browse Source

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

Signed-off-by: Luke McKee <hojuruku@gmail.com>
lilik-openwrt-22.03
Luke McKee 9 years ago
parent
commit
f9dfffb6f0
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      net/mini_snmpd/Makefile

+ 0
- 9
net/mini_snmpd/Makefile 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/


Loading…
Cancel
Save