projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ba432
)
tor: fix building without OpenSSL engine support
14896/head
author
Rui Salvaterra
<rsalvaterra@gmail.com>
Thu, 25 Feb 2021 08:19:22 +0000
(08:19 +0000)
committer
Rui Salvaterra
<rsalvaterra@gmail.com>
Thu, 25 Feb 2021 09:31:00 +0000
(09:31 +0000)
Otherwise it would fail with linking errors.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
net/tor/Makefile
patch
|
blob
|
history
diff --git
a/net/tor/Makefile
b/net/tor/Makefile
index 3fc375e515b10184d7914fa16a6ca6c0fb6ec561..dc6a19de458422ecde9c7db872baac02e2067ee7 100644
(file)
--- a/
net/tor/Makefile
+++ b/
net/tor/Makefile
@@
-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 += \