projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b5f94
)
cmake-utils.eclass: do not pass CMAKE_INSTALL_DO_STRIP in EAPI 6 and later
author
Michael Palimaka
<kensington@gentoo.org>
Thu, 9 Jun 2016 15:11:23 +0000
(
01:11
+1000)
committer
Michael Palimaka
<kensington@gentoo.org>
Thu, 16 Jun 2016 17:56:24 +0000
(
03:56
+1000)
CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good
opportunity to get rid of it.
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index 02b06bb3df892b0c0a32605f778cedd5ea4f1a28..bfd35812b41326a5eb17eb1f7757a0dfee8edc34 100644
(file)
--- a/
eclass/cmake-utils.eclass
+++ b/
eclass/cmake-utils.eclass
@@
-628,7
+628,7
@@
enable_cmake-utils_src_configure() {
-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}"
"${mycmakeargs_local[@]}"
-DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}"
- -DCMAKE_INSTALL_DO_STRIP=OFF
+ $([[ ${EAPI} == [2345] ]] && echo -DCMAKE_INSTALL_DO_STRIP=OFF)
-DCMAKE_USER_MAKE_RULES_OVERRIDE="${build_rules}"
-DCMAKE_TOOLCHAIN_FILE="${toolchain_file}"
"${MYCMAKEARGS}"