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

index 2ed3326235461de56ba5959a65d0930259eb2b34..9a6cf0ebcfefd4d8dc2fc3f039414da35c7f102b 100644 (file)
@@ -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}]"
 }