diff options
| author | Todd C. Miller <Todd.Miller@quest.com> | 2021-03-12 13:44:54 -0700 |
|---|---|---|
| committer | Tomas Mraz <tomas@openssl.org> | 2022-04-05 12:11:45 +0200 |
| commit | 1c529128f53ed1cb33a829dafe7fb4201c7ce69a (patch) | |
| tree | f34a2ec55a78dfcf78a45b9750cbeff99a8069eb /Configurations | |
| parent | b83c0a900f9303e0c9fd084829b791386d7c57ce (diff) | |
| download | openssl-new-1c529128f53ed1cb33a829dafe7fb4201c7ce69a.tar.gz | |
Add -static-libgcc to solaris-sparcv7-gcc shared_ldflag
This avoids a run-time dependency on libgcc_s.so which may not be
present on all systems. OpenSSL already uses -static-libgcc for
the solaris-x86-gcc and solaris64-x86_64-gcc configurations.
CLA: trivial
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14538)
Diffstat (limited to 'Configurations')
| -rw-r--r-- | Configurations/10-main.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 9368cf6748..305cc0daec 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -317,7 +317,7 @@ my %targets = ( ex_libs => add(threads("-pthread")), bn_ops => "BN_LLONG RC4_CHAR", shared_cflag => "-fPIC", - shared_ldflag => add_before("-shared"), + shared_ldflag => add_before("-shared -static-libgcc"), }, "solaris-sparcv8-gcc" => { inherit_from => [ "solaris-sparcv7-gcc" ], |
