mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
sys-devel/llvm: Remove C++11 checks in -9999
Remove C++11 checks since the relevant gcc versions are stable for long enough already.
This commit is contained in:
@@ -101,18 +101,6 @@ pkg_pretend() {
|
||||
|
||||
local CHECKREQS_DISK_BUILD=${build_size}M
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
echo 'int main() {return 0;}' > "${T}"/test.cxx || die
|
||||
ebegin "Trying to build a C++11 test program"
|
||||
if ! $(tc-getCXX) -std=c++11 -o /dev/null "${T}"/test.cxx; then
|
||||
eerror "LLVM-${PV} requires C++11-capable C++ compiler. Your current compiler"
|
||||
eerror "does not seem to support -std=c++11 option. Please upgrade your compiler"
|
||||
eerror "to gcc-4.7 or an equivalent version supporting C++11."
|
||||
die "Currently active compiler does not support -std=c++11"
|
||||
fi
|
||||
eend ${?}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user