OSDN Git Service

Enable to build on OSX with -arch option.
authorMasaki Muranaka <monaka@monami-software.com>
Wed, 20 Jan 2010 03:09:35 +0000 (12:09 +0900)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:11:52 +0000 (14:11 +0900)
gcc/config/i386/driver-i386.c

index 8a76857..e44d3fb 100644 (file)
@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3.  If not see
 
 const char *host_detect_local_cpu (int argc, const char **argv);
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
 #include "cpuid.h"
 
 struct cache_desc