Skip to content

Commit

Permalink
modules/openssl: remove libgcc path hack
Browse files Browse the repository at this point in the history
Passing the path to libgcc in LDFLAGS appears to no longer be needed.
Removing this fixes compilation on a freshly cloned repo.

Fixes #1507

Signed-off-by: Michał Kopeć <[email protected]>
  • Loading branch information
mkopec committed Feb 16, 2024
1 parent 5bff519 commit 4af7808
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 4af7808

Please sign in to comment.