diff options
author | Andy Polyakov <appro@openssl.org> | 2018-03-05 16:55:48 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-03-06 23:16:24 +0100 |
commit | 107783d9c56e7dcb338c011fa202ffa8f066dbca (patch) | |
tree | 1c07061ad0bb6899d7f7384486a6bad2418f590f /Configurations | |
parent | 49cd47eaababc8c57871b929080fc1357e2ad7b8 (diff) | |
download | openssl-new-107783d9c56e7dcb338c011fa202ffa8f066dbca.tar.gz |
Configurations/10-main.conf: add -fno-common back to darwin-ppc-cc.
-fno-common was removed for all Darwin targets in
0c8734198d4282f6997965a03cd2e0ceaf207549 with rationale "it's either
'ranlib -c' or '-fno-common'." However, it's still absolutely required
in 32-bit darwin-ppc-cc. And when trying things out I didn't quite
see why it was formulated as one-or-another choice, as 'ranlib -c'
shouldn't [and doesn't] have problems with object modules without
commons. [Well, to be frank, I didn't manage to reproduce the problem
the modification was meaning to resolve either...]
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 3ee071765d..7f07752511 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1647,6 +1647,7 @@ my %targets = ( inherit_from => [ "darwin-common", asm("ppc32_asm") ], cflags => add("-arch ppc -std=gnu9x -Wa,-force_cpusubtype_ALL"), cppflags => add("-DB_ENDIAN"), + shared_cflag => add("-fno-common"), perlasm_scheme => "osx32", }, "darwin64-ppc-cc" => { |