Kaydet (Commit) 57949716 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Bump GCC baseline to 4.8.1

see <https://lists.freedesktop.org/archives/libreoffice/2017-June/077909.html>
"Re: Some baseline thoughts" and
<https://lists.freedesktop.org/archives/libreoffice/2017-June/077910.html>
"minutes of ESC call ..."

Change-Id: I09fb8dc228c23a39e7e332742095b0e2dfce711d
Reviewed-on: https://gerrit.libreoffice.org/38860Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst fcd12c6d
......@@ -3780,12 +3780,14 @@ dnl ===================================================================
if test "$GCC" = "yes" -a -z "$COM_IS_CLANG"; then
AC_MSG_CHECKING([the GCC version])
_gcc_version=`$CC -dumpversion`
gcc_full_version=$(printf '%s' "$_gcc_version" | \
$AWK -F. '{ print $1*10000+$2*100+$3 }')
GCC_VERSION=`echo $_gcc_version | $AWK -F. '{ print \$1*100+\$2 }'`
AC_MSG_RESULT([gcc $_gcc_version])
AC_MSG_RESULT([gcc $_gcc_version ($gcc_full_version)])
if test "$GCC_VERSION" -lt 0407; then
AC_MSG_ERROR([GCC $_gcc_version is too old, must be at least GCC 4.7.0])
if test "$gcc_full_version" -lt 40801; then
AC_MSG_ERROR([GCC $_gcc_version is too old, must be at least GCC 4.8.1])
fi
else
# Explicitly force GCC_VERSION to be empty, even for Clang, to check incorrect uses.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment