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

Collapse All | Expand All

(-)a/llvm-3.6.0.ebuild (+3 lines)
Lines 158-163 src_prepare() { Link Here
158
		eprefixify tools/clang/lib/Frontend/InitHeaderSearch.cpp
158
		eprefixify tools/clang/lib/Frontend/InitHeaderSearch.cpp
159
	fi
159
	fi
160
160
161
	# Fix build fails with using gcc-4.9 on Gentoo/FreeBSD, bug #548444
162
	use clang && epatch "${FILESDIR}"/clang-3.6-fbsd-gcc49.patch
163
161
	if use prefix && use clang; then
164
	if use prefix && use clang; then
162
		sed -i -e "/^CFLAGS /s@-Werror@-I${EPREFIX}/usr/include@" \
165
		sed -i -e "/^CFLAGS /s@-Werror@-I${EPREFIX}/usr/include@" \
163
			projects/compiler-rt/make/platform/clang_*.mk || die
166
			projects/compiler-rt/make/platform/clang_*.mk || die

Return to bug 548444