From 1e3085b70acf6415641776991563553b42fff18c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 12 Jan 2017 11:42:31 +0100 Subject: [PATCH] sys-devel/clang: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo --- sys-devel/clang/clang-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index fb2c2eaae1b7..ce785b0b0402 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-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 check-reqs cmake-utils flag-o-matic git-r3 multilib-minimal \ @@ -50,6 +52,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( ${ALL_LLVM_TARGETS[*]} ) multitarget? ( ${ALL_LLVM_TARGETS[*]} )" +# least intrusive of all +CMAKE_BUILD_TYPE=RelWithDebInfo + # Multilib notes: # 1. ABI_* flags control ABIs libclang* is built for only. # 2. clang is always capable of compiling code for all ABIs for enabled -- 2.26.2