commit: 6a758c0d1706de233b373a2cd2f34320c62be459
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 10:48:37 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:25:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a758c0d
sys-devel/lld: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
sys-devel/lld/lld-9999.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-devel/lld/lld-9999.ebuild b/sys-devel/lld/lld-9999.ebuild
index 08ee298..aafd47f 100644
--- a/sys-devel/lld/lld-9999.ebuild
+++ b/sys-devel/lld/lld-9999.ebuild
@@ -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