commit: 51eb3030ffdee9988f85f9db497af20dcf923750
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 10:55:17 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:25:31 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51eb3030
sys-libs/libcxxabi: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
sys-libs/libcxxabi/libcxxabi-9999.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-libs/libcxxabi/libcxxabi-9999.ebuild
b/sys-libs/libcxxabi/libcxxabi-9999.ebuild
index 2ed3326..9a6cf0e 100644
--- a/sys-libs/libcxxabi/libcxxabi-9999.ebuild
+++ b/sys-libs/libcxxabi/libcxxabi-9999.ebuild
@@ -5,6 +5,8 @@
EAPI=6
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
EGIT_REPO_URI="http://llvm.org/git/libcxxabi.git
https://github.com/llvm-mirror/libcxxabi.git"
PYTHON_COMPAT=( python2_7 )
@@ -33,6 +35,9 @@ DEPEND="${RDEPEND}
~sys-libs/libcxx-${PV}[libcxxabi(-)]
$(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
}