Merge pull request #12547 from neheb/torr

tor: remove libssp hack
This commit is contained in:
Rosen Penev 2020-06-23 15:03:51 -07:00 committed by GitHub
commit 81dc2bd6ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor
PKG_VERSION:=0.4.3.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://dist.torproject.org/ \
@ -103,18 +103,12 @@ CONFIGURE_ARGS += \
--disable-lzma \
--disable-zstd \
--with-tor-user=tor \
--with-tor-group=tor
--with-tor-group=tor \
--with-pic
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections -flto
ifneq ($(CONFIG_SSP_SUPPORT),y)
CONFIGURE_ARGS += \
--disable-gcc-hardening
else
EXTRA_CFLAGS += $(FPIC)
endif
CONFIGURE_VARS += \
CROSS_COMPILE="yes"