Browse Source

Merge pull request #14896 from rsalvaterra/torfix

tor: fix building without OpenSSL engine support
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
9e32bfa1f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      net/tor/Makefile

+ 4
- 1
net/tor/Makefile View File

@ -139,7 +139,10 @@ ifeq ($(BUILD_VARIANT),basic)
CONFIGURE_ARGS += --disable-module-relay CONFIGURE_ARGS += --disable-module-relay
endif endif
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto \
$(if $(CONFIG_OPENSSL_ENGINE),,-DDISABLE_ENGINES)
TARGET_LDFLAGS += -Wl,--gc-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -flto
CONFIGURE_VARS += \ CONFIGURE_VARS += \


Loading…
Cancel
Save