mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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"
|
||||
fi
|
||||
|
||||
case "`gcc -dumpversion`" in
|
||||
case "`$CC -dumpversion`" in
|
||||
3.0|3.1|3.2)
|
||||
# These should be ok using -Werror
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user