From c7989e56935b6e02cb8fbf9b06b5567065ec1f2e 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 fee1f4ec2d0..083a3bf5ff0 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