diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-08 13:14:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-08 13:14:38 +0000 |
commit | 71ae507b76dcc3d4c48acf12b360b102689631e4 (patch) | |
tree | df5c575a84bc5ca50b071a5abf7134045d4f0bc4 | |
parent | 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-71ae507b76dcc3d4c48acf12b360b102689631e4.tar.bz2 |
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/aclocal/prog-cc.m4 | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/nfsclient/Makefile.am | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 2c63b6931a..651f5a0f8c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> + * libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS. + * aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack. * libfs/src/nfsclient/src/dirutils.c: #include <limits.h>. 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> diff --git a/cpukit/aclocal/prog-cc.m4 b/cpukit/aclocal/prog-cc.m4 index 2853c2a909..81a7ef34de 100644 --- a/cpukit/aclocal/prog-cc.m4 +++ b/cpukit/aclocal/prog-cc.m4 @@ -33,4 +33,9 @@ AC_SUBST(RTEMS_CFLAGS) RTEMS_CPPFLAGS="-I\$(top_builddir) -I\$(PROJECT_INCLUDE)" AC_SUBST(RTEMS_CPPFLAGS) + +AS_IF([test "$GCC" = yes],[ + RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -Wl,-r" +]) +AC_SUBST(RTEMS_RELLDFLAGS) ]) diff --git a/cpukit/libfs/src/nfsclient/Makefile.am b/cpukit/libfs/src/nfsclient/Makefile.am index fd70e4ddd7..d6bc362582 100644 --- a/cpukit/libfs/src/nfsclient/Makefile.am +++ b/cpukit/libfs/src/nfsclient/Makefile.am @@ -4,8 +4,6 @@ include $(top_srcdir)/automake/compile.am -RTEMS_RELLDFLAGS = -r - #%dirutils.obj: %dirutils.o # $(LD) -r -o $@ $^ project_lib_PROGRAMS = dirutils.rel |