tor: fix building without OpenSSL engine support

Otherwise it would fail with linking errors.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
Rui Salvaterra 2021-02-25 08:19:22 +00:00
parent 66ba43293e
commit e30f0480c8

View file

@ -139,7 +139,10 @@ ifeq ($(BUILD_VARIANT),basic)
CONFIGURE_ARGS += --disable-module-relay
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
CONFIGURE_VARS += \