[PATCH] PR38010 use darwin9.h on darwin10
Jack Howarth
howarth@bromo.msbb.uc.edu
Sun Nov 9 21:40:00 GMT 2008
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
More information about the Gcc-patches
mailing list