Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 702344 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-devel/clang/clang-9.0.1_rc2.ebuild (-1 / +5 lines)
Lines 52-58 RDEPEND="${RDEPEND} Link Here
52
PDEPEND="
52
PDEPEND="
53
	sys-devel/clang-common
53
	sys-devel/clang-common
54
	~sys-devel/clang-runtime-${PV}
54
	~sys-devel/clang-runtime-${PV}
55
	default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
55
	default-compiler-rt? (
56
		=sys-libs/compiler-rt-${PV%_*}*
57
		=sys-libs/llvm-libunwind-${PV%_*}*
58
	)
56
	default-libcxx? ( >=sys-libs/libcxx-${PV} )"
59
	default-libcxx? ( >=sys-libs/libcxx-${PV} )"
57
60
58
# least intrusive of all
61
# least intrusive of all
Lines 108-113 multilib_src_configure() { Link Here
108
		# override default stdlib and rtlib
111
		# override default stdlib and rtlib
109
		-DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "")
112
		-DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "")
110
		-DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "")
113
		-DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "")
114
		-DCLANG_DEFAULT_UNWINDLIB=$(usex default-compiler-rt libunwind "")
111
115
112
		-DCLANG_ENABLE_ARCMT=$(usex static-analyzer)
116
		-DCLANG_ENABLE_ARCMT=$(usex static-analyzer)
113
		-DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer)
117
		-DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer)

Return to bug 702344