aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-10-08 22:09:32 +0000
committerIan Lance Taylor <ian@airs.com>1992-10-08 22:09:32 +0000
commit9d4016257db2e10fd4c3f29fe677bca3a92e7aa8 (patch)
treed48f81d7b2de03430bf4f4259ae1c16e93112b75 /Makefile.in
parent5413338bff2ad49348d278c889bb1c88bb92683a (diff)
downloadgdb-9d4016257db2e10fd4c3f29fe677bca3a92e7aa8.zip
gdb-9d4016257db2e10fd4c3f29fe677bca3a92e7aa8.tar.gz
gdb-9d4016257db2e10fd4c3f29fe677bca3a92e7aa8.tar.bz2
Thu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (XTRAFLAGS): include newlib directories if newlib/Makefile exists, rather than if host != target.
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 3ceda70..59ccaf0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -139,10 +139,10 @@ NM_FOR_TARGET = ` \
XTRAFLAGS = ` \
if [ -f $${rootme}/gcc/Makefile ] ; then \
- if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \
- echo -I$${rootme}/gcc/include ; \
+ if [ -f $${rootme}/newlib/Makefile ] ; then \
+ echo -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -I$${rootme}/gcc/include -nostdinc ; \
else \
- echo -I$${rootme}/gcc/include -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -nostdinc ; \
+ echo -I$${rootme}/gcc/include ; \
fi ; \
else \
echo ; \