Module Name:    src
Committed By:   joerg
Date:           Fri Jun 10 03:19:25 UTC 2011

Modified Files:
        src/sys/arch/i386/conf: Makefile.i386

Log Message:
Add a few more cases that need GNU as. One of the padlock instructions
is missing in LLVM. spl.S and lock_stubs.S break with patchfunc
otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/arch/i386/conf/Makefile.i386

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/Makefile.i386
diff -u src/sys/arch/i386/conf/Makefile.i386:1.171 src/sys/arch/i386/conf/Makefile.i386:1.172
--- src/sys/arch/i386/conf/Makefile.i386:1.171	Mon May 30 15:06:32 2011
+++ src/sys/arch/i386/conf/Makefile.i386	Fri Jun 10 03:19:25 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.i386,v 1.171 2011/05/30 15:06:32 joerg Exp $
+#	$NetBSD: Makefile.i386,v 1.172 2011/06/10 03:19:25 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -35,8 +35,11 @@
 ##
 CPPFLAGS+=	-Di386
 
+AFLAGS.via_padlock.c= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}
+AFLAGS.spl.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+AFLAGS.lock_stubs.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 
 ##
 ## (3) libkern and compat

Reply via email to