mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 10:30:08 +01:00
configure: fix gcc version check
NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
b6df603e65
commit
fa013419de
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ if test "x$GCC" = xyes -a "x$CLANG" = xno; then
|
|||
GCC_VERSION=`$CC -dumpversion`
|
||||
if test $? -eq 0; then
|
||||
major=`echo $GCC_VERSION | cut -d. -f1`
|
||||
minor=`echo $GCC_VERSION | cut -d. -f1`
|
||||
minor=`echo $GCC_VERSION | cut -d. -f2`
|
||||
fi
|
||||
|
||||
if test $major -lt 3 -o $major -eq 3 -a $minor -lt 3 ; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue