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: 1492209534.98f46d0de5bc6d9d608e3453c8e435d2e49e1a65.mgorny@gentoo
1 commit: 98f46d0de5bc6d9d608e3453c8e435d2e49e1a65
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 14 22:36:37 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 14 22:38:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f46d0d
7
8 sys-devel/clang: Fix passing -DNDEBUG to build, #614844
9
10 sys-devel/clang/{clang-4.0.0-r1.ebuild => clang-4.0.0-r2.ebuild} | 2 ++
11 sys-devel/clang/clang-9999.ebuild | 2 ++
12 2 files changed, 4 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 98%
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..a127f9c864f 100644
19 --- a/sys-devel/clang/clang-4.0.0-r1.ebuild
20 +++ b/sys-devel/clang/clang-4.0.0-r2.ebuild
21 @@ -206,6 +206,8 @@ multilib_src_configure() {
22 )
23 fi
24
25 + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
26 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
27 cmake-utils_src_configure
28 }
29
30
31 diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
32 index 05f378ffda7..9987f2bfa1a 100644
33 --- a/sys-devel/clang/clang-9999.ebuild
34 +++ b/sys-devel/clang/clang-9999.ebuild
35 @@ -209,6 +209,8 @@ multilib_src_configure() {
36 )
37 fi
38
39 + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
40 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
41 cmake-utils_src_configure
42 }