The branch master has been updated
via 6c3cbc939125e24e65c7d6e82319d811e6e29c0f (commit)
from fab8fde3fc5ee871b0f92e207343a45ad8cc36b1 (commit)
- Log -----------------------------------------------------------------
commit 6c3cbc939125e24e65c7d6e82319d811e6e29c0f
Author: Thomas Dwyer III <[email protected]>
Date: Wed May 13 10:32:47 2020 -0700
Pass "-z defs" to the linker via "-Wl,-z,defs" rather than with gcc's -z
flag (which is not supported by older compilers).
CLA: trivial
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/11815)
-----------------------------------------------------------------------
Summary of changes:
Configurations/shared-info.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Configurations/shared-info.pl b/Configurations/shared-info.pl
index a673c7cada..461ce3c51f 100644
--- a/Configurations/shared-info.pl
+++ b/Configurations/shared-info.pl
@@ -36,7 +36,7 @@ my %shared_info;
(grep /(?:^|\s)-fsanitize/,
@{$config{CFLAGS}}, @{$config{cflags}})
? ''
- : '-z defs',
+ : '-Wl,-z,defs',
};
},
'bsd-gcc-shared' => sub { return $shared_info{'linux-shared'}; },