Module Name: src
Committed By: joerg
Date: Sun Jan 16 19:30:00 UTC 2011
Modified Files:
src/share/mk: sys.mk
Log Message:
Alpha doesn't need -traditional-cpp for assembler.
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/share/mk/sys.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/sys.mk
diff -u src/share/mk/sys.mk:1.101 src/share/mk/sys.mk:1.102
--- src/share/mk/sys.mk:1.101 Wed Jan 12 23:12:11 2011
+++ src/share/mk/sys.mk Sun Jan 16 19:29:59 2011
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.101 2011/01/12 23:12:11 joerg Exp $
+# $NetBSD: sys.mk,v 1.102 2011/01/16 19:29:59 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run NetBSD.
@@ -15,7 +15,8 @@
AFLAGS?=
COMPILE.s?= ${CC} ${AFLAGS} -c
LINK.s?= ${CC} ${AFLAGS} ${LDFLAGS}
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
+ ${MACHINE_ARCH} == "alpha"
_ASM_TRADITIONAL_CPP= -x assembler-with-cpp
.else
_ASM_TRADITIONAL_CPP= -traditional-cpp