diff options
author | David Carlier <devnexen@gmail.com> | 2020-12-19 11:07:09 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-20 11:04:50 +0000 |
commit | c3bd630df0c3630c66155fb8c4baf54810d24695 (patch) | |
tree | bb508cc22f4d94cb6e26a033f8961983a10c212f /util | |
parent | c9466f38e0191aa86e0bd49267b0c4ef33e3a3d2 (diff) |
Adding a separated build settings for BSD flavors
to avoid inheriting Linux's linker flags (ie -Wl,-z,defs)
now targetting OpenBSD.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13393)
Diffstat (limited to 'util')
-rwxr-xr-x | util/perl/OpenSSL/config.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm index 159bac199a..02b930a0a7 100755 --- a/util/perl/OpenSSL/config.pm +++ b/util/perl/OpenSSL/config.pm @@ -780,8 +780,10 @@ EOF [ 'powerpc64le-.*-.*bsd.*', { target => "BSD-ppc64le" } ], [ 'riscv64-.*-.*bsd.*', { target => "BSD-riscv64" } ], [ 'sparc64-.*-.*bsd.*', { target => "BSD-sparc64" } ], + [ 'ia64-.*-openbsd.*', { target => "BSD-nodef-ia64" } ], [ 'ia64-.*-.*bsd.*', { target => "BSD-ia64" } ], [ 'x86_64-.*-dragonfly.*', { target => "BSD-x86_64" } ], + [ 'amd64-.*-openbsd.*', { target => "BSD-nodef-x86_64" } ], [ 'amd64-.*-.*bsd.*', { target => "BSD-x86_64" } ], [ 'arm64-.*-.*bsd.*', { target => "BSD-aarch64" } ], [ 'armv6-.*-.*bsd.*', { target => "BSD-armv4" } ], @@ -803,6 +805,7 @@ EOF disable => [ 'sse2' ] }; } ], + [ '.*-.*-openbsd.*', { target => "BSD-nodef-generic32" } ], [ '.*-.*-.*bsd.*', { target => "BSD-generic32" } ], [ 'x86_64-.*-haiku', { target => "haiku-x86_64" } ], [ '.*-.*-haiku', { target => "haiku-x86" } ], |