From 54d1f315d1ca6015cc4138c20d5f1405faca7303 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 Apr 2017 00:27:27 +0200 Subject: [PATCH] sys-devel/clang: Revert "Fix respecting USE=debug for asserts, #614844" 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-r2.ebuild => clang-4.0.0-r1.ebuild} | 1 - sys-devel/clang/clang-9999.ebuild | 1 - 2 files changed, 2 deletions(-) rename sys-devel/clang/{clang-4.0.0-r2.ebuild => clang-4.0.0-r1.ebuild} (99%) diff --git a/sys-devel/clang/clang-4.0.0-r2.ebuild b/sys-devel/clang/clang-4.0.0-r1.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 94ecbba541a3..eaf9b27e3c51 100644 --- a/sys-devel/clang/clang-4.0.0-r2.ebuild +++ b/sys-devel/clang/clang-4.0.0-r1.ebuild @@ -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 diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index d755a064a339..05f378ffda76 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -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 -- 2.26.2