Browse Source

tor: remove libssp hack

Does not seem to be needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
0df6c58f82
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 9 deletions
  1. +3
    -9
      net/tor/Makefile

+ 3
- 9
net/tor/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor PKG_NAME:=tor
PKG_VERSION:=0.4.3.5 PKG_VERSION:=0.4.3.5
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:=https://dist.torproject.org/ \ PKG_SOURCE_URL:=https://dist.torproject.org/ \
@ -103,18 +103,12 @@ CONFIGURE_ARGS += \
--disable-lzma \ --disable-lzma \
--disable-zstd \ --disable-zstd \
--with-tor-user=tor \ --with-tor-user=tor \
--with-tor-group=tor
--with-tor-group=tor \
--with-pic
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-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 += \ CONFIGURE_VARS += \
CROSS_COMPILE="yes" CROSS_COMPILE="yes"


Loading…
Cancel
Save