]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
cmake: Use consistent arch names for POWER targets
authorMatheus Castanho <msc@linux.ibm.com>
Tue, 9 Jun 2020 18:25:16 +0000 (15:25 -0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 27 Jun 2020 15:42:55 +0000 (17:42 +0200)
commita7fd60eb338e81c37c59b7a10ec1a964a43f851b
treee154692b09b3e40f9506513e2e27bcbfa09159e7
parent4b1e9ea6184467f5971f13e1b3cef8fec929eb69
cmake: Use consistent arch names for POWER targets

The arch detection code used by cmake build exports ppc arch names in an
abbreviated way, e.g. ppc64le instead of powerpc64le. Some parts of
CMakeLists.txt are using the longer form instead, which will not
properly match the desired subarch as expected. Switch to using the
longer form everywhere for consistency with 'configure' script and with
arch names obtained when running under QEMU.
cmake/detect-arch.c