summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-20 08:10:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-20 08:10:58 +0000
commit546c41d075270b7d2a5b550fa918753240ef33aa (patch)
tree77a588ca22f8d554e26c2c38e25154a3fa46efdb
parent2005-11-20 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-546c41d075270b7d2a5b550fa918753240ef33aa.tar.bz2
Remove RTEMS_USE_GCC. Add RTEMS_RELLDFLAGS.
-rw-r--r--c/src/aclocal/prog-cc.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4
index 9c97d92dac..1d265f293a 100644
--- a/c/src/aclocal/prog-cc.m4
+++ b/c/src/aclocal/prog-cc.m4
@@ -17,8 +17,6 @@ test -z "$CC" && \
AC_MSG_ERROR([no acceptable cc found in \$PATH])
AC_PROG_CC
AC_PROG_CPP
-
-AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes")
])
AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET],
@@ -50,4 +48,9 @@ AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
])
AC_SUBST(RTEMS_CPPFLAGS)
+
+AS_IF([test "$GCC" = yes],[
+ RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -Wl,-r"
+])
+AC_SUBST(RTEMS_RELLDFLAGS)
])