summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-12 11:54:14 +0100
committerMichał Górny <mgorny@gentoo.org>2017-01-12 16:25:30 +0100
commit07a13cede3a6f2a6d909bb177a759afefb5a0db8 (patch)
tree5ec11b13fa73cd8bc1324617d0e7ae832353e316 /sys-libs/compiler-rt-sanitizers
parentsys-libs/compiler-rt: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo (diff)
downloadgentoo-07a13cede3a6f2a6d909bb177a759afefb5a0db8.tar.gz
gentoo-07a13cede3a6f2a6d909bb177a759afefb5a0db8.tar.bz2
gentoo-07a13cede3a6f2a6d909bb177a759afefb5a0db8.zip
sys-libs/compiler-rt-sanitizers: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
Diffstat (limited to 'sys-libs/compiler-rt-sanitizers')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
index 131cd0faf2e5..6b075cdac023 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-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 flag-o-matic git-r3 python-any-r1
@@ -32,6 +34,9 @@ DEPEND="${RDEPEND}
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
src_unpack() {
if use test; then
# needed for patched gtest