projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c51f29
)
cmake-utils.eclass: set CMAKE_SYSTEM_PROCESSOR, certain buildsystems rely on this...
author
Maciej Mrozowski
<reavertm@gentoo.org>
Mon, 6 Feb 2017 22:49:19 +0000
(23:49 +0100)
committer
Maciej Mrozowski
<reavertm@gentoo.org>
Mon, 6 Feb 2017 23:01:57 +0000
(
00:01
+0100)
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index 7b3500b1972ee08deca1addcdf097dc93ca65190..512bd93c7b3a9e52764fcdeb9ec9a388a1e26106 100644
(file)
--- 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.