diff options
Diffstat (limited to 'aclocal/gcc-pipe.m4')
-rw-r--r-- | aclocal/gcc-pipe.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/gcc-pipe.m4 b/aclocal/gcc-pipe.m4 index dd3a9581d4..093ea2edf4 100644 --- a/aclocal/gcc-pipe.m4 +++ b/aclocal/gcc-pipe.m4 @@ -10,7 +10,7 @@ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe, [ rtems_cv_gcc_pipe=no -if test "$ac_cv_prog_gcc" = "yes"; then +if test x"$GCC" = x"yes"; then echo 'void f(){}' >conftest.c if test -z "`${CC} --pipe -c conftest.c 2>&1`";then rtems_cv_gcc_pipe=yes |