1 |
commit: 9e3db5e62f63c3c169e9c60f5ac5acc43ae87160 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 14 14:31:14 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 14 14:51:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3db5e6 |
7 |
|
8 |
sys-devel/clang: Fix respecting USE=debug for asserts, #614844 |
9 |
|
10 |
sys-devel/clang/{clang-4.0.0-r1.ebuild => clang-4.0.0-r2.ebuild} | 1 + |
11 |
sys-devel/clang/clang-9999.ebuild | 1 + |
12 |
2 files changed, 2 insertions(+) |
13 |
|
14 |
diff --git a/sys-devel/clang/clang-4.0.0-r1.ebuild b/sys-devel/clang/clang-4.0.0-r2.ebuild |
15 |
similarity index 99% |
16 |
rename from sys-devel/clang/clang-4.0.0-r1.ebuild |
17 |
rename to sys-devel/clang/clang-4.0.0-r2.ebuild |
18 |
index eaf9b27e3c5..94ecbba541a 100644 |
19 |
--- a/sys-devel/clang/clang-4.0.0-r1.ebuild |
20 |
+++ b/sys-devel/clang/clang-4.0.0-r2.ebuild |
21 |
@@ -157,6 +157,7 @@ multilib_src_configure() { |
22 |
-DLLVM_BUILD_TESTS=$(usex test) |
23 |
|
24 |
# these are not propagated reliably, so redefine them |
25 |
+ -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
26 |
-DLLVM_ENABLE_EH=ON |
27 |
-DLLVM_ENABLE_RTTI=ON |
28 |
|
29 |
|
30 |
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild |
31 |
index 05f378ffda7..d755a064a33 100644 |
32 |
--- a/sys-devel/clang/clang-9999.ebuild |
33 |
+++ b/sys-devel/clang/clang-9999.ebuild |
34 |
@@ -160,6 +160,7 @@ multilib_src_configure() { |
35 |
-DLLVM_BUILD_TESTS=$(usex test) |
36 |
|
37 |
# these are not propagated reliably, so redefine them |
38 |
+ -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
39 |
-DLLVM_ENABLE_EH=ON |
40 |
-DLLVM_ENABLE_RTTI=ON |