mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-30 03:26:23 -04:00
When checking the GCC version, use $CC instead of just gcc so that we
get the right version if the user sets CC.
This commit is contained in:
parent
5f9583579e
commit
5aaf1101e1
@ -1221,7 +1221,7 @@ if test "x$ac_cv_prog_gcc" = "xyes"; then
|
|||||||
CFLAGS="$CFLAGS -Werror"
|
CFLAGS="$CFLAGS -Werror"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "`gcc -dumpversion`" in
|
case "`$CC -dumpversion`" in
|
||||||
3.0|3.1|3.2)
|
3.0|3.1|3.2)
|
||||||
# These should be ok using -Werror
|
# These should be ok using -Werror
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user