Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf Really apply the -no-integrated-as only ...



details:   https://anonhg.NetBSD.org/src/rev/b02af9fb9a58
branches:  trunk
changeset: 765161:b02af9fb9a58
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 20 13:21:19 2011 +0000

description:
Really apply the -no-integrated-as only for clang.

diffstat:

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

diffs (24 lines):

diff -r 526d39941179 -r b02af9fb9a58 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Fri May 20 13:19:59 2011 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Fri May 20 13:21:19 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.32 2011/05/20 13:19:59 joerg Exp $
+#      $NetBSD: Makefile.amd64,v 1.33 2011/05/20 13:21:19 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -63,10 +63,10 @@
 spl.o: ${AMD64}/amd64/spl.S assym.h
        ${NORMAL_S}
 
-AFLAGS.locore.S=               -no-integrated-as
-AFLAGS.mptramp.S=              -no-integrated-as
-AFLAGS.linux32_sigcode.S=      -no-integrated-as
-AFLAGS.netbsd32_sigcode.S=     -no-integrated-as
+AFLAGS.locore.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}
+AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}
+AFLAGS.linux32_sigcode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}
+AFLAGS.netbsd32_sigcode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} -I${.CURDIR}
 
 ##
 ## (5) link settings



Home | Main Index | Thread Index | Old Index