diff options
author | Thomas Dwyer III <tomiii@tomiii.com> | 2020-05-13 10:32:47 -0700 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-05-15 10:11:36 +0100 |
commit | 6c3cbc939125e24e65c7d6e82319d811e6e29c0f (patch) | |
tree | d1b93f5f523b575996c5953a8854de0f9398439c /Configurations | |
parent | fab8fde3fc5ee871b0f92e207343a45ad8cc36b1 (diff) |
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 <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11815)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/shared-info.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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'}; }, |