This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] PR38010 use darwin9.h on darwin10
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 9 Nov 2008 16:10:37 -0500
- Subject: [PATCH] PR38010 use darwin9.h on darwin10
The attached patch allows the correct darwin9.h header to
be used for darwin10 and newer. This formulation is recommended
by Mike Stump at Apple. Tested on i686-apple-darwin9 and
i686-apple-darwin10. Okay for gcc trunk?
Jack
2008-11-09 Jack Howarth <howarth@bromo.med.uc.edu>
PR bootstrap/38010
* gcc/config.gcc: Use darwin9.h on darwin10 as well.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 141718)
+++ gcc/config.gcc (working copy)
@@ -408,7 +408,7 @@
*-*-darwin*)
tm_file="${tm_file} darwin.h"
case ${target} in
- *-*-darwin9*)
+ *-*-darwin[912]*)
tm_file="${tm_file} darwin9.h"
;;
esac