From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42BC6139085 for ; Tue, 7 Feb 2017 17:27:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63678E0EBE; Tue, 7 Feb 2017 17:27:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C332E0EBE for ; Tue, 7 Feb 2017 17:27:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7AF9341686 for ; Tue, 7 Feb 2017 17:27:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B2343D9B for ; Tue, 7 Feb 2017 17:27:32 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1486488345.751dab52267ca575a8689784f0687b099f6229d8.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 751dab52267ca575a8689784f0687b099f6229d8 X-VCS-Branch: master Date: Tue, 7 Feb 2017 17:27:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 53d786cd-9fdf-488d-b482-d772f0008140 X-Archives-Hash: 8abaf57cd524bd96110592b4fd8d803b commit: 751dab52267ca575a8689784f0687b099f6229d8 Author: Maciej Mrozowski gentoo org> AuthorDate: Tue Feb 7 17:25:45 2017 +0000 Commit: Johannes Huber gentoo org> CommitDate: Tue Feb 7 17:25:45 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=751dab52 cmake-utils.eclass: set CMAKE_SYSTEM_PROCESSOR Certain build systems rely on this for crosscompiling. Patch by aballier. Gentoo-bug: 607904 eclass/cmake-utils.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index d7870c4..b1d499c 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -538,6 +538,7 @@ enable_cmake-utils_src_configure() { SET (CMAKE_Fortran_COMPILER "${myFC/ /;}") SET (CMAKE_AR $(type -P $(tc-getAR)) CACHE FILEPATH "Archive manager" FORCE) SET (CMAKE_RANLIB $(type -P $(tc-getRANLIB)) CACHE FILEPATH "Archive index generator" FORCE) + SET (CMAKE_SYSTEM_PROCESSOR "${CHOST%%-*}") _EOF_ # We are using the C compiler for assembly by default.