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

index a61c877c62d5d39100d4b707e13c0aa341d17bef..39bed8fc832eabbcf862549039548c432c61063b 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-multilib git-r3 python-any-r1
@@ -37,6 +39,9 @@ DEPEND="${RDEPEND}
                >=sys-devel/clang-3.9.0
        )"
 
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 python_check_deps() {
        has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }