[Bug target/33115] -march=native is not supported under x86 darwin
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 19 23:19:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list