* Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 8 Nov 1993 23:12:38 +0000 (23:12 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 8 Nov 1993 23:12:38 +0000 (23:12 +0000)
for existence of gcc/Makefile.

gdb/ChangeLog
gdb/Makefile.in

index a0f4649eb15a724ce5b2dc7f70e54ea1be0b5134..7093a9af368b3c1f84f40a27e3cf22c5dc10eabd 100644 (file)
@@ -1,5 +1,8 @@
 Mon Nov  8 10:42:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
+       for existence of gcc/Makefile.
+
        * inflow.c (terminal_init_inferior), infptrace.c (child_resume):
        Add comments about use of Lynx PIDGET and how we will want to
        clean it up.
index 32a3efe9cf1f9dba11e4701b2e32a9fc06d10ece..c2ba25abf81eafd2a0865cc0509ff91a5832f0ad 100644 (file)
@@ -235,7 +235,7 @@ FLAGS_TO_PASS = \
 # Flags that we pass when building the testsuite.
 
 CC_FOR_TARGET = ` \
-  if [ -f $${rootme}/../gcc/Makefile ] ; then \
+  if [ -f $${rootme}/../gcc/xgcc ] ; then \
     echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
   else \
     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \