Merge pull request #1614 from Dasharo/fix_openssl_compilation

modules/openssl: remove libgcc path hack
This commit is contained in:
Thierry Laurion 2024-02-16 13:32:34 -05:00 committed by GitHub
commit 95f9636a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,15 +7,11 @@ openssl_tar := openssl-$(openssl_version).tar.gz
openssl_url := https://www.openssl.org/source/$(openssl_tar)
openssl_hash := 6c13d2bf38fdf31eac3ce2a347073673f5d63263398f1f69d0df4a41253e4b3e
# hack to provide path to libgcc
LIBGCC_DIR := $(dir $(shell $(heads_cc) -print-libgcc-file-name))
# The only optional algorithm that's enabled is SM3. tpm2-tss uses SHA, AES,
# and SM3.
openssl_configure := \
$(CROSS_TOOLS) \
CFLAGS="-Os" \
LDFLAGS="-L$(LIBGCC_DIR)" \
./Configure \
--prefix="/" \
no-tests \