This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33115] -march=native is not supported under x86 darwin
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2007 23:18:52 -0000
- Subject: [Bug target/33115] -march=native is not supported under x86 darwin
- References: <bug-33115-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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