OSDN Git Service

PR target/15941
[pf3gnuchains/gcc-fork.git] / Makefile.def
index 788d3b0..b394138 100644 (file)
@@ -213,3 +213,36 @@ flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= NM_FOR_TARGET ; };
 flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
+
+// Toplevel bootstrap
+bootstrap_stage = {
+       id=1 ;
+       extra_configure_flags='--disable-intermodule \
+         --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
+       extra_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; };
+bootstrap_stage = {
+       id=2 ; prev=1 ;
+       bootstrap_target=bootstrap2 ;
+       extra_configure_flags="@stage2_werror_flag@" ;
+       extra_make_flags="" ; };
+bootstrap_stage = {
+       id=3 ; prev=2 ;
+       compare_target=compare ;
+       bootstrap_target=bootstrap ;
+       cleanstrap_target=cleanstrap ;
+       extra_configure_flags="@stage2_werror_flag@" ;
+       extra_make_flags="" ; };
+bootstrap_stage = {
+       id=4 ; prev=3 ;
+       compare_target=compare3 ;
+       bootstrap_target=bootstrap4 ;
+       extra_configure_flags="@stage2_werror_flag@" ;
+       extra_make_flags="" ; };
+bootstrap_stage = {
+       id=profile ; prev=1 ;
+       extra_configure_flags="@stage2_werror_flag@" ;
+       extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; };
+bootstrap_stage = {
+       id=feedback ; prev=1 ;
+       extra_configure_flags="@stage2_werror_flag@" ;
+       extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; };