mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
modules/openssl: remove libgcc path hack
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ć <michal.kopec@3mdeb.com>
This commit is contained in:
parent
5bff51952d
commit
4af780864f
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user