Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/
Date: Fri, 14 Apr 2017 22:39:05
Message-Id: 1492209528.54d1f315d1ca6015cc4138c20d5f1405faca7303.mgorny@gentoo
1 commit: 54d1f315d1ca6015cc4138c20d5f1405faca7303
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 14 22:27:27 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 14 22:38:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d1f315
7
8 sys-devel/clang: Revert "Fix respecting USE=debug for asserts, #614844"
9
10 Turns out the issue lies within LLVM itself, wrt CMAKE_BUILD_TYPE
11 no longer forcing -DNDEBUG while wiping out the default flags.
12
13 Reverts: 9e3db5e62f63c3c169e9c60f5ac5acc43ae87160
14
15 sys-devel/clang/{clang-4.0.0-r2.ebuild => clang-4.0.0-r1.ebuild} | 1 -
16 sys-devel/clang/clang-9999.ebuild | 1 -
17 2 files changed, 2 deletions(-)
18
19 diff --git a/sys-devel/clang/clang-4.0.0-r2.ebuild b/sys-devel/clang/clang-4.0.0-r1.ebuild
20 similarity index 99%
21 rename from sys-devel/clang/clang-4.0.0-r2.ebuild
22 rename to sys-devel/clang/clang-4.0.0-r1.ebuild
23 index 94ecbba541a..eaf9b27e3c5 100644
24 --- a/sys-devel/clang/clang-4.0.0-r2.ebuild
25 +++ b/sys-devel/clang/clang-4.0.0-r1.ebuild
26 @@ -157,7 +157,6 @@ multilib_src_configure() {
27 -DLLVM_BUILD_TESTS=$(usex test)
28
29 # these are not propagated reliably, so redefine them
30 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
31 -DLLVM_ENABLE_EH=ON
32 -DLLVM_ENABLE_RTTI=ON
33
34
35 diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
36 index d755a064a33..05f378ffda7 100644
37 --- a/sys-devel/clang/clang-9999.ebuild
38 +++ b/sys-devel/clang/clang-9999.ebuild
39 @@ -160,7 +160,6 @@ multilib_src_configure() {
40 -DLLVM_BUILD_TESTS=$(usex test)
41
42 # these are not propagated reliably, so redefine them
43 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
44 -DLLVM_ENABLE_EH=ON
45 -DLLVM_ENABLE_RTTI=ON