diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-09-20 00:58:42 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-09-20 00:58:42 +0000 |
commit | 95c53c62a0ead38459084c66a708af8c8097f00d (patch) | |
tree | ae7620654cd3abc6a05fd2e8f8a8c14ae39fece6 | |
parent | 82b0258299e4775deccaf6bebc2626d0892d08e5 (diff) | |
download | gcc-95c53c62a0ead38459084c66a708af8c8097f00d.zip gcc-95c53c62a0ead38459084c66a708af8c8097f00d.tar.gz gcc-95c53c62a0ead38459084c66a708af8c8097f00d.tar.bz2 |
mh-x86omitfp: New host makefile fragment.
* 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | config/mh-x86omitfp | 2 | ||||
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.in | 5 |
4 files changed, 19 insertions, 0 deletions
@@ -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 index 0000000..563f02b --- /dev/null +++ b/config/mh-x86omitfp @@ -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 @@ -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 diff --git a/configure.in b/configure.in index 609a23f..b7e2976 100644 --- a/configure.in +++ b/configure.in @@ -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 |