sys-devel/lld: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
authorMichał Górny <mgorny@gentoo.org>
Thu, 12 Jan 2017 10:48:37 +0000 (11:48 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Jan 2017 15:25:26 +0000 (16:25 +0100)
sys-devel/lld/lld-9999.ebuild

index 08ee2985b2461a0b0c04a66a04fa7cffc45b8826..aafd47f0a906534381e1b13ab7e6198d4598d1dd 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 git-r3
@@ -27,6 +29,9 @@ DEPEND="${RDEPEND}
 # TODO: fix test suite to build stand-alone
 RESTRICT="test"
 
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 src_unpack() {
        if use test; then
                # needed for patched gtest