This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]