This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Broken Canadian crosses
- To: gcc-patches at gcc dot gnu dot org
- Subject: Broken Canadian crosses
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Jan 2001 11:38:01 -0200
- Organization: GCC Team, Red Hat
They've been broken since Nov 23. Here's a patch that fixes them.
I'm checking it in. There's no Copyright notice in build-make, so I'm
not updating it. Should there be one?
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
* Makefile.in (HOST_CFLAGS): Mention build-make.
Index: gcc/build-make
===================================================================
RCS file: /cvs/gcc/egcs/gcc/build-make,v
retrieving revision 1.5
diff -u -p -r1.5 build-make
--- gcc/build-make 2000/02/27 00:10:13 1.5
+++ gcc/build-make 2001/01/03 13:25:12
@@ -11,7 +11,8 @@ CC = gcc -b $(host)
HOST_PREFIX=l-
HOST_PREFIX_1=$(HOST_PREFIX)
HOST_CC=$(CC) -b $(build)
-HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
+HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) \
+ -DGENERATOR_FILE
HOST_CLIB=
HOST_LDFLAGS=$(LDFLAGS)
HOST_CPPFLAGS=$(ALL_CPPFLAGS)
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.574
diff -u -p -r1.574 Makefile.in
--- gcc/Makefile.in 2000/12/22 12:27:35 1.574
+++ gcc/Makefile.in 2001/01/03 13:25:18
@@ -1,6 +1,6 @@
# Makefile for GNU C compiler.
# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995
-# 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+# 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
#This file is part of GNU CC.
@@ -502,6 +502,8 @@ HOST_PREFIX=
# out of the way of the other rules for compiling the same source files.
HOST_PREFIX_1=loser-
HOST_CC=$(CC)
+# If you change any of the following variables, check whether a
+# similar change is needed in build-make.
HOST_CFLAGS=$(ALL_CFLAGS) -DGENERATOR_FILE
HOST_CLIB=$(CLIB)
HOST_LDFLAGS=$(LDFLAGS)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me