]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
openssl: Properly pass CFLAGS and LDFLAGS to build
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Feb 2018 12:43:28 +0000 (12:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Feb 2018 22:19:45 +0000 (22:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/openssl

index f1dccc76c41ff7f8931186c03696c3039df519b3..bd70980397b0d301ac5e2747a5f17ae1b526b7e2 100644 (file)
@@ -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