Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include/CMakeLists.txt: error out when architecture is not supported #1070

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 13, 2024

  1. include/CMakeLists.txt: error out when architecture is not supported

    Since commit b98c56f ("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>
    tpetazzoni committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3b5f017 View commit details
    Browse the repository at this point in the history