This is the mail archive of the gcc-bugs@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]

[Bug target/33115] -march=native is not supported under x86 darwin



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-08-19 23:18 -------
Patch in testing:
Index: config/i386/darwin.h
===================================================================
--- config/i386/darwin.h        (revision 127626)
+++ config/i386/darwin.h        (working copy)
@@ -89,7 +89,7 @@ along with GCC; see the file COPYING3.  
    the kernel or some such.  */

 #undef CC1_SPEC
-#define CC1_SPEC "%{!mkernel:%{!static:%{!mdynamic-no-pic:-fPIC}}} \
+#define CC1_SPEC "%(cc1_cpu)%{!mkernel:%{!static:%{!mdynamic-no-pic:-fPIC}}} \
   %{!mmacosx-version-min=*:-mmacosx-version-min=%(darwin_minversion)} \
   %{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols
}}"



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33115


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