浏览代码

mesa: bump required GCC version to 4.1.0

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
tags/10.5-branchpoint
Timothy Arceri 11 年前
父节点
当前提交
78e1246bec
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      configure.ac

+ 3
- 3
configure.ac 查看文件

@@ -102,7 +102,7 @@ AC_COMPILE_IFELSE(

AC_MSG_RESULT([$acv_mesa_CLANG])

dnl If we're using GCC, make sure that it is at least version 3.3.0. Older
dnl If we're using GCC, make sure that it is at least version 4.1.0. Older
dnl versions are explictly not supported.
GEN_ASM_OFFSETS=no
if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then
@@ -116,9 +116,9 @@ if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then
GCC_VERSION_MINOR=`echo $GCC_VERSION | cut -d. -f2`
fi

if test $GCC_VERSION_MAJOR -lt 3 -o $GCC_VERSION_MAJOR -eq 3 -a $GCC_VERSION_MINOR -lt 3 ; then
if test $GCC_VERSION_MAJOR -lt 4 -o $GCC_VERSION_MAJOR -eq 4 -a $GCC_VERSION_MINOR -lt 1 ; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([If using GCC, version 3.3.0 or later is required.])
AC_MSG_ERROR([If using GCC, version 4.1.0 or later is required.])
else
AC_MSG_RESULT([yes])
fi

正在加载...
取消
保存