commit: 6bdc25f1471b7b49c739b70176289a91be9dbf1f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 10:56:13 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:25:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdc25f1
sys-libs/libcxx: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
sys-libs/libcxx/libcxx-9999.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-libs/libcxx/libcxx-9999.ebuild
b/sys-libs/libcxx/libcxx-9999.ebuild
index 4470d66..a5f89ac 100644
--- a/sys-libs/libcxx/libcxx-9999.ebuild
+++ b/sys-libs/libcxx/libcxx-9999.ebuild
@@ -7,6 +7,8 @@ EAPI=6
# Ninja provides better scalability and cleaner verbose output, and is used
# throughout all LLVM projects.
: ${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/libcxx.git
https://github.com/llvm-mirror/libcxx.git"
PYTHON_COMPAT=( python2_7 )
@@ -57,6 +59,9 @@ PATCHES=(
"${FILESDIR}/${PN}-3.9-cmake-link-flags.patch"
)
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
}