* config/mt-slite (LDFLAGS): If using the newlib in the tree, set

the -B and -L prefixes so we can find the debugging stub.
This commit is contained in:
J.T. Conklin
1994-07-28 23:00:42 +00:00
parent 754e5da26e
commit af1fa5e7ca
2 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
the -B and -L prefixes so we can find the debugging stub.
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree.

View File

@@ -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`