commit: 9e3db5e62f63c3c169e9c60f5ac5acc43ae87160 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 14 14:31:14 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 14 14:51:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3db5e6
sys-devel/clang: Fix respecting USE=debug for asserts, #614844 sys-devel/clang/{clang-4.0.0-r1.ebuild => clang-4.0.0-r2.ebuild} | 1 + sys-devel/clang/clang-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-devel/clang/clang-4.0.0-r1.ebuild b/sys-devel/clang/clang-4.0.0-r2.ebuild similarity index 99% rename from sys-devel/clang/clang-4.0.0-r1.ebuild rename to sys-devel/clang/clang-4.0.0-r2.ebuild index eaf9b27e3c5..94ecbba541a 100644 --- a/sys-devel/clang/clang-4.0.0-r1.ebuild +++ b/sys-devel/clang/clang-4.0.0-r2.ebuild @@ -157,6 +157,7 @@ multilib_src_configure() { -DLLVM_BUILD_TESTS=$(usex test) # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index 05f378ffda7..d755a064a33 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -160,6 +160,7 @@ multilib_src_configure() { -DLLVM_BUILD_TESTS=$(usex test) # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON