Makefile.in (CC_FOR_TARGET): Use newlib libraries as well as include files.

* Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
        as include files.

From-SVN: r31351
This commit is contained in:
Joel Sherrill 2000-01-12 11:01:26 +00:00 committed by Jeff Law
parent 76875ef1b2
commit 02368d6dd4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-12 Joel Sherrill (joel@OARcorp.com)
* Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
as include files.
2000-01-11 Zack Weinberg <zack@wolery.cumb.org>
* Add self as cpplib maintainer, as requested by Jason

View File

@ -216,7 +216,7 @@ CC_FOR_TARGET = ` \
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
else \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
fi; \
else \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/; \