Module Name:    src
Committed By:   joerg
Date:           Tue Mar  4 21:06:02 UTC 2014

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
When using Clang, disable integrated assembler for genassym. It creates
syntactically invalid assembler, which is normally not a problem as it
is also using -S.


To generate a diff of this commit:
cvs rdiff -u -r1.775 -r1.776 src/share/mk/bsd.own.mk

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

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.775 src/share/mk/bsd.own.mk:1.776
--- src/share/mk/bsd.own.mk:1.775	Sun Mar  2 03:33:29 2014
+++ src/share/mk/bsd.own.mk	Tue Mar  4 21:06:02 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.775 2014/03/02 03:33:29 matt Exp $
+#	$NetBSD: bsd.own.mk,v 1.776 2014/03/04 21:06:02 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -780,6 +780,8 @@ ARM_APCS_FLAGS=	-mabi=apcs-gnu -mfloat-a
 ARM_APCS_FLAGS+=${${ACTIVE_CC} == "clang":? -target ${MACHINE_GNU_ARCH}--netbsdelf -B ${TOOLDIR}/${MACHINE_GNU_PLATFORM}/bin :}
 .endif
 
+GENASSYM_CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -no-integrated-as :}
+
 #
 # Determine if arch uses native kernel modules with rump
 #

Reply via email to