]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configurations/10-main.conf
Configure: allow to enable afalgeng if target does not start with Linux
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Thu, 25 Jan 2018 21:50:55 +0000 (22:50 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Mar 2018 10:59:08 +0000 (11:59 +0100)
commit9e381e8a018592a2a42e83df402e1ef921469e9f
treea9c4cf2f2505680176b92573e7fbc6b82e380691
parent16ff13427f00753a76672317143753b83cea7982
Configure: allow to enable afalgeng if target does not start with Linux

The Debian build system uses a `debian' target which sets CFLAGS and
then we have for instance debian-amd64 which inherits from
linux-x86_64 and debian [0]. So far so good.

Unless there are different suggestions how to do this, I would keep it.
However since the target name does not start with `linux', the build
system does not enable the afalg engine. So in order to get enabled, I
added a
`enable           => [ "afalgeng" ],'
to the generic linux config which sets it explicit (as suggested by
Richard Levitte). Having this set, we can check for it instead matching
the target name.

[0] https://sources.debian.org/src/openssl/1.1.0g-2/Configurations/20-debian.conf/
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5169)
Configurations/10-main.conf
Configure