[openssl] OpenSSL_1_1_1-stable update
Richard Levitte
levitte at openssl.org
Thu Jan 14 09:38:13 UTC 2021
The branch OpenSSL_1_1_1-stable has been updated
via cfd7225fbb9507b2e443a494459bdaab5236d29d (commit)
from dfe07182aac02b962a5a72d86cab69e59e90aeca (commit)
- Log -----------------------------------------------------------------
commit cfd7225fbb9507b2e443a494459bdaab5236d29d
Author: Todd Short <tshort at akamai.com>
Date: Wed Sep 2 16:57:46 2020 -0400
Fix -static builds
Pull in check from #10878
Move disabling of pic, threads and statics up higher before they
are checked.
Fixes #12772
Reviewed-by: Tomas Mraz <tmraz at fedoraproject.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12773)
-----------------------------------------------------------------------
Summary of changes:
Configure | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Configure b/Configure
index 1d73d06e1b..f25b84bff2 100755
--- a/Configure
+++ b/Configure
@@ -1201,6 +1201,10 @@ foreach (keys %useradd) {
# At this point, we can forget everything about %user and %useradd,
# because it's now all been merged into the corresponding $config entry
+if (grep { $_ eq '-static' } @{$config{LDFLAGS}}) {
+ disable('static', 'pic', 'threads');
+}
+
# Allow overriding the build file name
$config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile";
@@ -1521,10 +1525,6 @@ if ($strict_warnings)
}
}
-if (grep { $_ eq '-static' } @{$config{LDFLAGS}}) {
- disable('static', 'pic', 'threads');
-}
-
$config{CFLAGS} = [ map { $_ eq '--ossl-strict-warnings'
? @strict_warnings_collection
: ( $_ ) }
More information about the openssl-commits
mailing list