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

index 924684fecb92b9abc65c3f2a02ca07f4c5f2b47d..5929692bc84d54d7d562f0bd5100de74553bd589 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
 inherit cmake-multilib git-r3
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
@@ -23,6 +25,9 @@ RDEPEND="!sys-libs/libunwind"
 # (3.9.0 needed because cmake file install path changed)
 DEPEND=">=sys-devel/llvm-3.9.0[${MULTILIB_USEDEP}]"
 
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 multilib_src_configure() {
        local libdir=$(get_libdir)