Browse Source

Merge pull request #16949 from neheb/10

libtasn1: don't build host shared libs
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 3 years ago
committed by GitHub
parent
commit
91c1b3d18d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      libs/libtasn1/Makefile

+ 5
- 1
libs/libtasn1/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libtasn1 PKG_NAME:=libtasn1
PKG_VERSION:=4.16.0 PKG_VERSION:=4.16.0
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)
@ -43,6 +43,10 @@ HOST_CFLAGS += -std=gnu99
TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections TARGET_LDFLAGS += -Wl,--gc-sections
HOST_CONFIGURE_ARGS += \
--disable-shared \
--with-pic
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-doc \ --disable-doc \
--disable-gcc-warnings \ --disable-gcc-warnings \


Loading…
Cancel
Save