diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2024-07-13 14:32:29 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2024-07-13 14:41:36 +0200 |
commit | 3b5f0177ff2c3976863c520bb164d68fdde39ec0 (patch) | |
tree | 8c98debc5082254a90a2cd2e71838ccba288f5c1 /m4 | |
parent | 3d895bd51bf79afaaa168d076c65a71086582b60 (diff) | |
download | portable-3b5f0177ff2c3976863c520bb164d68fdde39ec0.tar.gz portable-3b5f0177ff2c3976863c520bb164d68fdde39ec0.tar.bz2 portable-3b5f0177ff2c3976863c520bb164d68fdde39ec0.zip |
include/CMakeLists.txt: error out when architecture is not supported
Since commit b98c56fd5e86fa76eb55a98a2266a923f64f705c ("stop exposing
hidden defines in public opensslconf.h"), only a subset of CPU
architectures is supported by libressl. However, when a build is
attempted for an unsupported architecture, it doesn't fail with a
clear error message at configure time, but it fails with a weird error
at build time:
crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'
In order to help users, let's bail out nicely at configure time with a
good error message when the CPU architecture is not supported.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions