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

(-)/usr/portage/sys-devel/llvm/llvm-3.7.1.ebuild (+15 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
		mycmakeargs+=(
375
			-DCMAKE_CROSSCOMPILING=True \
376
			-DLLVM_TABLEGEN=/usr/bin/llvm-tblgen \
377
			-DCMAKE_CXX_FLAGS="-I${EROOT}usr/include/"
378
		)
379
380
		if use clang; then
381
			mycmakeargs+=(
382
				-DCLANG_TABLEGEN=/usr/bin/clang-tblgen
383
				-DLLVM_ENABLE_PIC=False # Work around. See http://llvm.org/docs/HowToCrossCompileLLVM.html
384
			)
385
		fi
386
	fi
387
373
	cmake-utils_src_configure
388
	cmake-utils_src_configure
374
}
389
}
375
390

Return to bug 442958