build-style/cmake: powerpc->ppc for CMAKE_SYSTEM_PROCESSOR

ppc is the correct name which cmake reports in a native ppc32
environment, therefore the cross toolchain definition is wrong.

Closes: #12061 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
q66 2019-05-31 19:27:12 +02:00 committed by Jürgen Buchmüller
parent 65735860a6
commit c7989e5693
No known key found for this signature in database
GPG Key ID: DE55AD8DBEBB4EE8
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ do_configure() {
mips*) _CMAKE_SYSTEM_PROCESSOR=mips ;;
ppc64le*) _CMAKE_SYSTEM_PROCESSOR=ppc64le ;;
ppc64*) _CMAKE_SYSTEM_PROCESSOR=ppc64 ;;
ppc*) _CMAKE_SYSTEM_PROCESSOR=powerpc ;;
ppc*) _CMAKE_SYSTEM_PROCESSOR=ppc ;;
*) _CMAKE_SYSTEM_PROCESSOR=generic ;;
esac
if [ -x "${XBPS_CROSS_BASE}/usr/bin/wx-config-gtk3" ]; then