From 5164ffaddca425583bb58a59a1cafdc78dfb25c4 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 31 May 2019 19:27:12 +0200 Subject: [PATCH] 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. --- common/build-style/cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index fee1f4ec2d0ef9..083a3bf5ff02d8 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -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