summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-14 16:31:14 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-14 16:51:21 +0200
commit9e3db5e62f63c3c169e9c60f5ac5acc43ae87160 (patch)
tree4aa579beb76fc72c5a1aebed3d3e1c5b6f3da5cc /sys-devel/clang/clang-9999.ebuild
parentnet-analyzer/p0f: Version bump. (diff)
downloadgentoo-9e3db5e62f63c3c169e9c60f5ac5acc43ae87160.tar.gz
gentoo-9e3db5e62f63c3c169e9c60f5ac5acc43ae87160.tar.bz2
gentoo-9e3db5e62f63c3c169e9c60f5ac5acc43ae87160.zip
sys-devel/clang: Fix respecting USE=debug for asserts, #614844
Diffstat (limited to 'sys-devel/clang/clang-9999.ebuild')
-rw-r--r--sys-devel/clang/clang-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 05f378ffda76..d755a064a339 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