Merge pull request #14896 from rsalvaterra/torfix

tor: fix building without OpenSSL engine support
This commit is contained in:
Rosen Penev
2021-02-25 06:15:12 -08:00
committed by GitHub
+4 -1
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 += \