aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2007-08-17 00:03:44 +0000
committerAlexandre Oliva <aoliva@redhat.com>2007-08-17 00:03:44 +0000
commit2b41ef78c2df9e5fe990703b33ec9813de55e380 (patch)
treeaa08b7dce7059bbb9ca4d5a99dbd285ca73a08f8 /Makefile.def
parent49813813a7c02f8bcd7e528e5b04bf303bcbe532 (diff)
downloadnewlib-2b41ef78c2df9e5fe990703b33ec9813de55e380.zip
newlib-2b41ef78c2df9e5fe990703b33ec9813de55e380.tar.gz
newlib-2b41ef78c2df9e5fe990703b33ec9813de55e380.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.def27
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' ; };