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

index 131cd0faf2e5ac907d2f6320acab207df5cf7b0d..6b075cdac0230c4e1421ef80f4e2cd82c6112aa5 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
 PYTHON_COMPAT=( python2_7 )
 
 inherit cmake-utils flag-o-matic git-r3 python-any-r1
@@ -32,6 +34,9 @@ DEPEND="${RDEPEND}
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 src_unpack() {
        if use test; then
                # needed for patched gtest