Commit 63977398 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

Don't substitute GccVersion variable

Not only is it now unused but we generally can't assume that we are
compiling with GCC, so it really shouldn't be used.
parent 78b70e63
Pipeline #11933 passed with stages
in 1116 minutes and 35 seconds
......@@ -1315,7 +1315,7 @@ AC_DEFUN([FP_PROG_AR_NEEDS_RANLIB],[
# -----------
# Extra testing of the result AC_PROG_CC, testing the gcc version no. Sets the
# output variable GccVersion.
# (unsubstituted) output variable GccVersion.
if test -z "$CC"
......@@ -1330,7 +1330,7 @@ AC_DEFUN([FP_GCC_VERSION], [
FP_COMPARE_VERSIONS([$fp_cv_gcc_version], [-lt], [4.6],
[AC_MSG_ERROR([Need at least gcc version 4.6 (4.7+ recommended)])])
AC_SUBST([GccVersion], [$fp_cv_gcc_version])
dnl Check to see if the C compiler is clang or llvm-gcc
......@@ -521,8 +521,6 @@ SettingsOptCommand = @SettingsOptCommand@
# the flag CC=<blah> instead. The reason is that the configure script
# needs to know which gcc you're using in order to perform its tests.
GccVersion = @GccVersion@
# TargetPlatformFull retains the string passed to configure so we have it in
# the necessary format to pass to libffi's configure.
TargetPlatformFull = @TargetPlatformFull@
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