From 9480bb4285a591e7ac0232e950edeb40ae764438 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 15 Jan 2004 04:30:28 +0000 Subject: 2004-01-15 Ralf Corsepius * automake/compile.am: Add RTEMS_RELLDFLAGS. Remove XLDFLAGS. --- c/src/automake/compile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c/src/automake') 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 -- cgit v1.2.3