commit:     5993e7c35f0e828eebfc8d3932379a3c3399bba8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 07:58:31 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 08:00:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5993e7c3

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 5820649..16c4d32 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() {

Reply via email to