diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-17 00:00:00 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-17 00:00:00 +0000 |
commit | 5b542315d84f34501602db300305272b8c2dbf0d (patch) | |
tree | c1cd5bd2c987389d32d7944dcd05df6301bffa82 /Makefile.tpl | |
parent | a2b17a85ff5fcf62e35fe61c963910119f51ac69 (diff) | |
download | gcc-5b542315d84f34501602db300305272b8c2dbf0d.tar.gz |
ChangeLog:
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass. Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.
contrib/ChangeLog:
* compare-debug: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index b49001dc6e8..8cb7f7d177f 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -6,7 +6,7 @@ in # # Makefile for directory with subdirs to build. # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, -# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation +# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -323,6 +323,14 @@ STAGE1_CFLAGS=@stage1_cflags@ STAGE1_CHECKING=@stage1_checking@ STAGE1_LANGUAGES=@stage1_languages@ +STAGE2_CFLAGS=$(BOOT_CFLAGS) +STAGE3_CFLAGS=$(BOOT_CFLAGS) +STAGE4_CFLAGS=$(BOOT_CFLAGS) + +do-compare = @do_compare@ +do-compare3 = $(do-compare) +do-compare-debug = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 + # ----------------------------------------------- # Programs producing files for the TARGET machine # ----------------------------------------------- @@ -1316,7 +1324,7 @@ do-clean: clean-stage[+id+] cd .. ; \ for file in $${files} ; do \ f1=$$r/stage[+prev+]-gcc/$$file; f2=$$r/stage[+id+]-gcc/$$file; \ - @do_compare@ > /dev/null 2>&1; \ + $(do-[+compare-target+]) > /dev/null 2>&1; \ if test $$? -eq 1; then \ case $$file in \ ./cc*-checksum$(objext) | ./libgcc/* ) \ |