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
This commit is contained in:
Roger Sayle 2004-09-20 00:58:42 +00:00 committed by Roger Sayle
parent 82b0258299
commit 95c53c62a0
4 changed files with 19 additions and 0 deletions

View File

@ -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

2
config/mh-x86omitfp Normal file
View File

@ -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

5
configure vendored
View File

@ -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

View 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