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

Collapse All | Expand All

(-)llvm-3.7.1-r1.ebuild.old (+18 lines)
Lines 370-375 Link Here
370
		#filter-flags -msahf -frecord-gcc-switches
370
		#filter-flags -msahf -frecord-gcc-switches
371
	fi
371
	fi
372
372
373
	if tc-is-cross-compiler; then
374
		[[ -x "/usr/bin/llvm-tblgen" ]] \
375
			|| die "/usr/bin/llvm-tblgen not found or usable"
376
		mycmakeargs+=(
377
			-DCMAKE_CROSSCOMPILING=True \
378
			-DLLVM_TABLEGEN=/usr/bin/llvm-tblgen \
379
			-DCMAKE_CXX_FLAGS="-I${EROOT}usr/include/"
380
		)
381
382
		if use clang; then
383
			[[ -x "/usr/bin/clang-tblgen" ]] \
384
				|| die "/usr/bin/clang-tblgen not found or usable"
385
			mycmakeargs+=(
386
				-DCLANG_TABLEGEN=/usr/bin/clang-tblgen
387
			)
388
		fi
389
	fi
390
373
	cmake-utils_src_configure
391
	cmake-utils_src_configure
374
}
392
}
375
393

Return to bug 442958