diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-06-10 01:11:23 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-06-17 03:56:24 +1000 |
commit | ec1cf28c6d96259cc9ecc2b76924b828f134cc3a (patch) | |
tree | b2f505fd50216b6a1b7b6f83605c3df2fdb80b71 /eclass/cmake-utils.eclass | |
parent | gnome-base/orbit: add multilib support (diff) | |
download | gentoo-ec1cf28c6d96259cc9ecc2b76924b828f134cc3a.tar.gz gentoo-ec1cf28c6d96259cc9ecc2b76924b828f134cc3a.tar.bz2 gentoo-ec1cf28c6d96259cc9ecc2b76924b828f134cc3a.zip |
cmake-utils.eclass: do not pass CMAKE_INSTALL_DO_STRIP in EAPI 6 and later
CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good
opportunity to get rid of it.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 02b06bb3df89..bfd35812b413 100644 --- 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}" |