From 59d77d2eae265304887408b1d36074269f6075a4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 Feb 2018 12:43:28 +0000 Subject: [PATCH] openssl: Properly pass CFLAGS and LDFLAGS to build Signed-off-by: Michael Tremer --- lfs/openssl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/openssl b/lfs/openssl index f1dccc76c4..bd70980397 100644 --- a/lfs/openssl +++ b/lfs/openssl @@ -128,7 +128,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && find crypto/ -name Makefile -exec \ sed 's/^ASFLAGS=/&-Wa,--noexecstack /' -i {} \; - cd $(DIR_APP) && ./Configure $(CONFIGURE_OPTIONS) + cd $(DIR_APP) && ./Configure $(CONFIGURE_OPTIONS) \ + $(CFLAGS) $(LDFLAGS) cd $(DIR_APP) && make depend cd $(DIR_APP) && make -- 2.39.5