summaryrefslogtreecommitdiffstats
path: root/c/src/automake
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 04:30:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 04:30:28 +0000
commit9480bb4285a591e7ac0232e950edeb40ae764438 (patch)
treedb22f6965b00a348488d6a1fc1a9ffec0fea415a /c/src/automake
parent0e786f660422274b7bda7e4308629c2d3cbf56c9 (diff)
downloadrtems-9480bb4285a591e7ac0232e950edeb40ae764438.tar.bz2
2004-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Add RTEMS_RELLDFLAGS. Remove XLDFLAGS.
Diffstat (limited to 'c/src/automake')
-rw-r--r--c/src/automake/compile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/automake/compile.am b/c/src/automake/compile.am
index da7232f7eb..79507c50a2 100644
--- a/c/src/automake/compile.am
+++ b/c/src/automake/compile.am
@@ -146,13 +146,14 @@ LINK_FILES =\
if RTEMS_USE_GCC
## gcc >= 2.8
+RTEMS_RELLDFLAGS = -qnolinkcmds -nostdlib -Wl,-r
define make-rel
- $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
+ $(LINK) $(RTEMS_RELLDFLAGS) $^
endef
else
## non-gcc
define make-rel
- $(LINK) $(XLDFLAGS) $^
+ $(LINK) $(RTEMS_RELLDFLAGS) $^
endef
endif