Merge pull request #8168 from neheb/tas

libtasn1: Optimize compilation for size
This commit is contained in:
Nikos Mavrogiannopoulos
2019-02-13 19:55:24 +01:00
committed by GitHub
+8 -6
View File
@@ -9,11 +9,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libtasn1 PKG_NAME:=libtasn1
PKG_VERSION:=4.13 PKG_VERSION:=4.13
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME) PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
PKG_HASH:=7e528e8c317ddd156230c4e31d082cd13e7ddeb7a54824be82632209550c8cca PKG_HASH:=7e528e8c317ddd156230c4e31d082cd13e7ddeb7a54824be82632209550c8cca
PKG_MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
PKG_LICENSE:=LGPLv2.1+ PKG_LICENSE:=LGPLv2.1+
PKG_LICENSE_FILES:=COPYING.LIB PKG_LICENSE_FILES:=COPYING.LIB
@@ -26,7 +28,6 @@ define Package/libtasn1
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=An ASN.1 and DER structures manipulation library TITLE:=An ASN.1 and DER structures manipulation library
MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
URL:=https://www.gnu.org/software/libtasn1/ URL:=https://www.gnu.org/software/libtasn1/
endef endef
@@ -35,12 +36,13 @@ define Package/libtasn1/description
Distinguish Encoding Rules (DER) manipulation. Distinguish Encoding Rules (DER) manipulation.
endef endef
TARGET_CFLAGS += $(FPIC) TARGET_LDFLAGS += -Wl,--gc-sections
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --disable-doc \
--disable-gcc-warnings \ --disable-gcc-warnings \
--enable-static --disable-ld-version-script \
--disable-valgrind-tests
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin