From 5e8ac8a55dab39a84a7497e03b743d90fb7e4f6e Mon Sep 17 00:00:00 2001 From: Bob Owen Date: Thu, 19 Mar 2015 10:56:13 +0000 Subject: [PATCH] Bug 1144155 Part 1: Bump our minimum supported GCC version for Gecko up from 4.6 to 4.7. r=glandium --- build/autoconf/toolchain.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/autoconf/toolchain.m4 b/build/autoconf/toolchain.m4 index 7b5c6285a23..bcf58dda0f8 100644 --- a/build/autoconf/toolchain.m4 +++ b/build/autoconf/toolchain.m4 @@ -101,9 +101,9 @@ AC_SUBST(CLANG_CXX) AC_SUBST(CLANG_CL) if test -n "$GNU_CC" -a -z "$CLANG_CC" ; then - if test "$GCC_MAJOR_VERSION" -eq 4 -a "$GCC_MINOR_VERSION" -lt 6 || + if test "$GCC_MAJOR_VERSION" -eq 4 -a "$GCC_MINOR_VERSION" -lt 7 || test "$GCC_MAJOR_VERSION" -lt 4; then - AC_MSG_ERROR([Only GCC 4.6 or newer supported]) + AC_MSG_ERROR([Only GCC 4.7 or newer supported]) fi fi ])