[llvm-commits] [llvm-gcc-4.2] r62481 - /llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h
Bill Wendling
isanbard at gmail.com
Sun Jan 18 18:25:38 PST 2009
Author: void
Date: Sun Jan 18 20:25:37 2009
New Revision: 62481
URL: http://llvm.org/viewvc/llvm-project?rev=62481&view=rev
Log:
Darwin kext build support.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h?rev=62481&r1=62480&r2=62481&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/darwin64.h Sun Jan 18 20:25:37 2009
@@ -28,6 +28,12 @@
#undef DARWIN_SUBARCH_SPEC
#define DARWIN_SUBARCH_SPEC DARWIN_ARCH_SPEC
+/* APPLE LOCAL begin kext 6400713 */
+#undef ASM_SPEC
+#define ASM_SPEC "-arch %(darwin_arch) -force_cpusubtype_ALL \
+ %{mkernel|static|fapple-kext:%{m32:-static}}"
+/* APPLE LOCAL end kext 6400713 */
+
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
/* APPLE LOCAL 6015949 */ \
More information about the llvm-commits
mailing list