Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk When using Clang, disable integrated assembler for ...
details: https://anonhg.NetBSD.org/src/rev/6fda07b9913e
branches: trunk
changeset: 327324:6fda07b9913e
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 04 21:06:02 2014 +0000
description:
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.
diffstat:
share/mk/bsd.own.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 88bf25eb5a0a -r 6fda07b9913e share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Mar 04 21:05:05 2014 +0000
+++ b/share/mk/bsd.own.mk Tue Mar 04 21:06:02 2014 +0000
@@ -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+=${${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
#
Home |
Main Index |
Thread Index |
Old Index