aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-21 16:57:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-21 16:57:14 +0000
commitc9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1 (patch)
tree2f30723f0eee34b40b662bd71a594ab5dcee0fb5 /Makefile.in
parent6cb613a4287cb3e2feb03999d4090c95034f35d3 (diff)
downloadnewlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.zip
newlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.tar.gz
newlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.tar.bz2
20000-05-21 H.J. Lu (hjl@gnu.org)
* configure: Revert changes made on May 18 and May 19. * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc directory are used if they exist. Make sure $(build_tooldir)/include is searched for header files, $(build_tooldir)/lib/ for library files. (GCC_FOR_TARGET): Likewise. (CXX_FOR_TARGET): Likewise.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index b4c4618..f1acbd0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -223,7 +223,7 @@ CC_FOR_TARGET = ` \
;; \
esac \
else \
- echo $$r/gcc/xgcc -B$$r/gcc/; \
+ echo $$r/gcc/xgcc -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -B$$r/gcc/ -isystem $(build_tooldir)/include; \
fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
@@ -237,7 +237,7 @@ CC_FOR_TARGET = ` \
# variable is passed down to the gcc Makefile, where it is used to
# build libgcc2.a. We define it here so that it can itself be
# overridden on the command line.
-GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/
+GCC_FOR_TARGET = $$r/gcc/xgcc -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -B$$r/gcc/ -I$(build_tooldir)/include
CHILL_FOR_TARGET = ` \
if [ -f $$r/gcc/xgcc ] ; then \
@@ -262,7 +262,7 @@ CXX_FOR_TARGET = ` \
;; \
esac \
else \
- echo $$r/gcc/xgcc -B$$r/gcc/; \
+ echo $$r/gcc/g++ -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -B$$r/gcc/ -I$(build_tooldir)/include; \
fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \