diff options
Diffstat (limited to 'aclocal/gcc-specs.m4')
-rw-r--r-- | aclocal/gcc-specs.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aclocal/gcc-specs.m4 b/aclocal/gcc-specs.m4 index 1c77eb634a..7d90d24644 100644 --- a/aclocal/gcc-specs.m4 +++ b/aclocal/gcc-specs.m4 @@ -6,13 +6,13 @@ dnl AC_DEFUN(RTEMS_GCC_SPECS, [AC_REQUIRE([RTEMS_PROG_CC]) -AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs, +AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs, [ rtems_cv_gcc_specs=no -if test "$rtems_cv_prog_gcc" = "yes"; then +if test "$ac_cv_prog_gcc" = "yes"; then touch confspec echo 'void f(){}' >conftest.c - if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then + if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then rtems_cv_gcc_specs=yes fi fi |