aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-07-28 23:00:42 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-07-28 23:00:42 +0000
commitaf1fa5e7caf40fa99e93b359fbf2811c4ee8d4e3 (patch)
treeb1fc694d3294e26722cde33c5bf4325201e2d3b0 /gdb/testsuite/config
parent754e5da26e5fb9374d6768188944fbca8d49d37c (diff)
downloadgdb-af1fa5e7caf40fa99e93b359fbf2811c4ee8d4e3.zip
gdb-af1fa5e7caf40fa99e93b359fbf2811c4ee8d4e3.tar.gz
gdb-af1fa5e7caf40fa99e93b359fbf2811c4ee8d4e3.tar.bz2
* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
the -B and -L prefixes so we can find the debugging stub.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/mt-slite7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/config/mt-slite b/gdb/testsuite/config/mt-slite
index 4f1c528..0654d18 100644
--- a/gdb/testsuite/config/mt-slite
+++ b/gdb/testsuite/config/mt-slite
@@ -1 +1,6 @@
-LDFLAGS = -Tex93x.ld -nostartfiles -N
+LDFLAGS = ` \
+ if [ -f $${rootme}/../../newlib/Makefile ]; then \
+ echo -L$${rootsrc}/../../newlib/stub/ex93x -L$${rootme}/../../newlib/stub/ex93x -Tex93x.ld -nostartfiles -N; \
+ else \
+ echo -Tex93x.ld -nostartfiles -N; \
+ fi`