From 5993e7c35f0e828eebfc8d3932379a3c3399bba8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 17 Jan 2016 08:58:31 +0100 Subject: [PATCH] sys-devel/llvm: Remove C++11 checks in -9999 Remove C++11 checks since the relevant gcc versions are stable for long enough already. --- sys-devel/llvm/llvm-9999.ebuild | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index 582064971ca6..16c4d32ceacb 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -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() { -- 2.26.2