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

Collapse All | Expand All

(-)llvm-3.4.ebuild (+13 lines)
Lines 171-176 Link Here
171
		epatch "${FILESDIR}"/clang-3.4-gentoo-install.patch
171
		epatch "${FILESDIR}"/clang-3.4-gentoo-install.patch
172
	fi
172
	fi
173
173
174
	if [[ ${CHOST} == *-darwin* ]] ; then
175
		epatch "${FILESDIR}"/llvm-3.4-fix_darwin_build.patch
176
	fi
177
174
	local sub_files=(
178
	local sub_files=(
175
		Makefile.config.in
179
		Makefile.config.in
176
		Makefile.rules
180
		Makefile.rules
Lines 210-215 Link Here
210
		$(use_enable libffi)
214
		$(use_enable libffi)
211
	)
215
	)
212
216
217
	# Setup the search path to include the Prefix includes
218
	if use prefix ; then
219
		conf_flags+=( --with-c-include-dirs=${EPREFIX}/usr/include:/usr/include )
220
	fi
221
213
	if use clang; then
222
	if use clang; then
214
		conf_flags+=( --with-clang-resource-dir=../lib/clang/${PV} )
223
		conf_flags+=( --with-clang-resource-dir=../lib/clang/${PV} )
215
	fi
224
	fi
Lines 462-467 Link Here
462
				"${f}"
471
				"${f}"
463
			eend $?
472
			eend $?
464
		done
473
		done
474
		for f in "${ED}"/usr/lib/clang/${libpv}/lib/darwin/libclang_rt.asan_{iossim,osx}_dynamic.dylib ; do
475
			odylib="${f#$ED/}"
476
			install_name_tool -id "${EPREFIX}/${odylib}" "${f}"
477
		done
465
	fi
478
	fi
466
}
479
}
467
480

Return to bug 503220