summaryrefslogtreecommitdiffstats
path: root/aclocal/gcc-specs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/gcc-specs.m4')
-rw-r--r--aclocal/gcc-specs.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/gcc-specs.m4 b/aclocal/gcc-specs.m4
index 7d90d24644..ca0271424f 100644
--- a/aclocal/gcc-specs.m4
+++ b/aclocal/gcc-specs.m4
@@ -9,7 +9,7 @@ AC_DEFUN(RTEMS_GCC_SPECS,
AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs,
[
rtems_cv_gcc_specs=no
-if test "$ac_cv_prog_gcc" = "yes"; then
+if test x"$GCC" = x"yes"; then
touch confspec
echo 'void f(){}' >conftest.c
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then