Skip to content

Commit

Permalink
Merge pull request #1614 from Dasharo/fix_openssl_compilation
Browse files Browse the repository at this point in the history
modules/openssl: remove libgcc path hack
  • Loading branch information
tlaurion authored Feb 16, 2024
2 parents 5bff519 + 4af7808 commit 95f9636
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/openssl
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 95f9636

Please sign in to comment.