mh-x86omitfp: New host makefile fragment.
authorRoger Sayle <roger@eyesopen.com>
Mon, 20 Sep 2004 00:58:42 +0000 (00:58 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 20 Sep 2004 00:58:42 +0000 (00:58 +0000)
* config/mh-x86omitfp: New host makefile fragment.  Add
-fomit-frame-pointer to the default BOOT_CFLAGS.
* configure.in: Use it to speed up bootstrap on some IA-32 hosts.
* configure: Regenerate.

From-SVN: r87741

ChangeLog
config/mh-x86omitfp [new file with mode: 0644]
configure
configure.in

index f9755ac9d070ec90a85e2aa81336881909125a6b..be92afccaf8e2dca7693a5d72e6b66a3b5d82942 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-19  Roger Sayle  <roger@eyesopen.com>
+
+       * config/mh-x86omitfp: New host makefile fragment.  Add
+       -fomit-frame-pointer to the default BOOT_CFLAGS.
+       * configure.in: Use it to speed up bootstrap on some IA-32 hosts.
+       * configure: Regenerate.
+
 2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR target/11572
diff --git a/config/mh-x86omitfp b/config/mh-x86omitfp
new file mode 100644 (file)
index 0000000..563f02b
--- /dev/null
@@ -0,0 +1,2 @@
+# Add -fomit-frame-pointer to the usual BOOT_CFLAGS to speed up the compiler.
+BOOT_CFLAGS = -O2 -g -fomit-frame-pointer
index 592bf91279556240d1228c2ee71c51b9bcf18580..100f407428a463be5410c254f3b2b367d6d7db59 100755 (executable)
--- a/configure
+++ b/configure
@@ -1715,6 +1715,11 @@ case "${host}" in
   *-*-sysv4*)
     host_makefile_frag="config/mh-sysv4"
     ;;
+  # This is placed last to prevent interfering with the cases above.
+  i[3456789]86-*-*)
+    # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
+    host_makefile_frag="config/mh-x86omitfp"
+    ;;
 esac
 fi
 
index 609a23fad1299978a98f8ef234cf57a214ee26ef..b7e29761e7f5831ae5bbb3f29e335c7bba1c7b20 100644 (file)
@@ -937,6 +937,11 @@ case "${host}" in
   *-*-sysv4*)
     host_makefile_frag="config/mh-sysv4"
     ;;
+  # This is placed last to prevent interfering with the cases above.
+  i[[3456789]]86-*-*)
+    # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
+    host_makefile_frag="config/mh-x86omitfp"
+    ;;
 esac
 fi