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

index 61beea784bb8dd6c0830c39d12e3c8e015d3976b..31371ded6b6a343bfe570a9a0fbfbe6a1a4e4b67 100644 (file)
@@ -5,8 +5,10 @@
 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 python-any-r1
 
 DESCRIPTION="OCaml bindings for LLVM"
@@ -43,6 +45,9 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"
 
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 python_check_deps() {
        ! use test \
                || has_version "dev-python/lit[${PYTHON_USEDEP}]"