libressl / portable

LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to tech@openbsd.org are welcome.
https://www.libressl.org
1.35k stars 269 forks source link

CMakeLists.txt: Fix HOST variable for ppc64 #1073

Closed OPNA2608 closed 2 months ago

OPNA2608 commented 2 months ago

The code here defined HOST_PPC64, but the rest of the build system expects HOST_POWERPC64.

https://github.com/libressl/portable/blob/6f4668b7e3277f63a3b373bba739749cf77f4346/include/CMakeLists.txt#L33 https://github.com/libressl/portable/blob/6f4668b7e3277f63a3b373bba739749cf77f4346/crypto/CMakeLists.txt#L859

In autoconf land, this was also named HOST_POWERPC64, not HOST_PPC64.

https://github.com/libressl/portable/blob/6f4668b7e3277f63a3b373bba739749cf77f4346/configure.ac#L99