Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Add a few more cases that need GNU as. On...



details:   https://anonhg.NetBSD.org/src/rev/137062e9a9a0
branches:  trunk
changeset: 765916:137062e9a9a0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jun 10 03:19:25 2011 +0000

description:
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.

diffstat:

 sys/arch/i386/conf/Makefile.i386 |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 61303dd3d6e5 -r 137062e9a9a0 sys/arch/i386/conf/Makefile.i386
--- a/sys/arch/i386/conf/Makefile.i386  Fri Jun 10 03:18:27 2011 +0000
+++ b/sys/arch/i386/conf/Makefile.i386  Fri Jun 10 03:19:25 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index