sys-libs/libcxx: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
authorMichał Górny <mgorny@gentoo.org>
Thu, 12 Jan 2017 10:56:13 +0000 (11:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Jan 2017 15:25:32 +0000 (16:25 +0100)
sys-libs/libcxx/libcxx-9999.ebuild

index 4470d669a1e9f16b57655d7506290d0029b9b33c..a5f89acfb5aaf7dd04ce6730a7ff46cf4429b30c 100644 (file)
@@ -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}]"
 }