mini_snmpd: @champtar requested PKG_FIXUP:=autoreconf take care of strip and CFLAGS... 2941/head
authorLuke McKee <hojuruku@gmail.com>
Mon, 11 Jul 2016 20:30:34 +0000 (03:30 +0700)
committerLuke McKee <hojuruku@gmail.com>
Mon, 11 Jul 2016 20:30:34 +0000 (03:30 +0700)
Signed-off-by: Luke McKee <hojuruku@gmail.com>
net/mini_snmpd/Makefile

index 5fab7fcc0546dc3a59fead95704b0e4a3b8aae01..9945b8fa013cda26c0513d2d35ea0f2ae636c205 100644 (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/