diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2007-08-17 00:03:44 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2007-08-17 00:03:44 +0000 |
commit | 8520c40866978c72f704ea159afbab994a829ff2 (patch) | |
tree | 8f6784adcdd8ad0af59b20bf06af65cf1e76f4c5 /Makefile.def | |
parent | db6d03e8ff382fea30f5461b74601e579a85996f (diff) | |
download | gdb-8520c40866978c72f704ea159afbab994a829ff2.zip gdb-8520c40866978c72f704ea159afbab994a829ff2.tar.gz gdb-8520c40866978c72f704ea159afbab994a829ff2.tar.bz2 |
* 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.
Diffstat (limited to 'Makefile.def')
-rw-r--r-- | Makefile.def | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/Makefile.def b/Makefile.def index c6d05d5..3d9a95d 100644 --- a/Makefile.def +++ b/Makefile.def @@ -4,7 +4,7 @@ AutoGen definitions Makefile.tpl; // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. // This file was originally written by Nathanael Nerode. // -// Copyright 2002, 2003, 2004, 2005, 2006 Free Software Foundation +// Copyright 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 @@ -236,6 +236,9 @@ flags_to_pass = { flag= LIBCXXFLAGS ; }; flags_to_pass = { flag= STAGE1_CFLAGS ; }; flags_to_pass = { flag= STAGE1_CHECKING ; }; flags_to_pass = { flag= STAGE1_LANGUAGES ; }; +flags_to_pass = { flag= STAGE2_CFLAGS ; }; +flags_to_pass = { flag= STAGE3_CFLAGS ; }; +flags_to_pass = { flag= STAGE4_CFLAGS ; }; flags_to_pass = { flag= GNATBIND ; }; flags_to_pass = { flag= GNATMAKE ; }; @@ -512,26 +515,38 @@ bootstrap_stage = { id=2 ; prev=1 ; bootstrap_target=bootstrap2 ; stage_configure_flags="@stage2_werror_flag@" ; - stage_cflags="$(BOOT_CFLAGS)" ; }; + stage_cflags="$(STAGE2_CFLAGS)" ; }; +bootstrap_stage = { + id=b2g0 ; prev=1 ; + bootstrap_target=bootstrap2-debug ; + stage_configure_flags="@stage2_werror_flag@" ; + stage_cflags="$(STAGE2_CFLAGS) -g0" ; }; bootstrap_stage = { id=3 ; prev=2 ; lean=1 ; compare_target=compare ; bootstrap_target=bootstrap ; cleanstrap_target=cleanstrap ; stage_configure_flags="@stage2_werror_flag@" ; - stage_cflags="$(BOOT_CFLAGS)" ; }; + stage_cflags="$(STAGE3_CFLAGS)" ; }; +bootstrap_stage = { + id=b3g2 ; prev=b2g0 ; lean=1 ; + compare_target=compare-debug ; + bootstrap_target=bootstrap-debug ; + cleanstrap_target=cleanstrap-debug ; + stage_configure_flags="@stage2_werror_flag@" ; + stage_cflags="$(STAGE3_CFLAGS) -g2" ; }; bootstrap_stage = { id=4 ; prev=3 ; lean=2 ; compare_target=compare3 ; bootstrap_target=bootstrap4 ; stage_configure_flags="@stage2_werror_flag@" ; - stage_cflags="$(BOOT_CFLAGS)" ; }; + stage_cflags="$(STAGE4_CFLAGS)" ; }; bootstrap_stage = { id=profile ; prev=1 ; stage_configure_flags="@stage2_werror_flag@" ; - stage_cflags='$(BOOT_CFLAGS) -fprofile-generate' ; }; + stage_cflags='$(STAGE2_CFLAGS) -fprofile-generate' ; }; bootstrap_stage = { id=feedback ; prev=profile ; bootstrap_target=profiledbootstrap ; stage_configure_flags="@stage2_werror_flag@" ; - stage_cflags='$(BOOT_CFLAGS) -fprofile-use' ; }; + stage_cflags='$(STAGE3_CFLAGS) -fprofile-use' ; }; |