Configuration: make Solaris builds with gcc recognise GNU ld
authorRichard Levitte <levitte@openssl.org>
Thu, 21 Mar 2019 06:51:43 +0000 (07:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 10 Nov 2019 03:58:08 +0000 (04:58 +0100)
commit7b97581b90822a8c3027686234fb56ea5346db15
treefe75487717bafa579cf1aa4d7229a8629933e5c1
parent287e1a7eac1330f0e0e4fc443f9f762835246e9e
Configuration: make Solaris builds with gcc recognise GNU ld

The solaris config targets assumed that GNU cc used Sun ld at all
times.  However, there are setups where GNU ld is used instead, so we
adapt the Solaris gcc config targets to use the mechanism introduced
with Configurations/shared_info.pl to try to detect what ld flavor is
being used and set the diverse ld flags accordingly.

Fixes #8547

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8548)
Configurations/10-main.conf
Configurations/shared-info.pl