sys-devel/clang: Revert "Fix respecting USE=debug for asserts, #614844"
authorMichał Górny <mgorny@gentoo.org>
Fri, 14 Apr 2017 22:27:27 +0000 (00:27 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 14 Apr 2017 22:38:48 +0000 (00:38 +0200)
Turns out the issue lies within LLVM itself, wrt CMAKE_BUILD_TYPE
no longer forcing -DNDEBUG while wiping out the default flags.

Reverts: 9e3db5e62f63c3c169e9c60f5ac5acc43ae87160

sys-devel/clang/clang-4.0.0-r1.ebuild [moved from sys-devel/clang/clang-4.0.0-r2.ebuild with 99% similarity]
sys-devel/clang/clang-9999.ebuild

similarity index 99%
rename from sys-devel/clang/clang-4.0.0-r2.ebuild
rename to sys-devel/clang/clang-4.0.0-r1.ebuild
index 94ecbba541a36ec8ea6a54a6d6b31964e88a0d9f..eaf9b27e3c51a43f4f0a84a1eae937864a18b840 100644 (file)
@@ -157,7 +157,6 @@ 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
 
index d755a064a33978b1bc651495f743d0b2eb9de0c4..05f378ffda76812e951c01668bad52c4ad01b4bb 100644 (file)
@@ -160,7 +160,6 @@ 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