Module Name: src
Committed By: martin
Date: Sun Nov 17 11:16:09 UTC 2013
Modified Files:
src/lib/csu/common: Makefile.inc
Log Message:
Simplify previous by using CSU_MACHINE_ARCH. Hint from Takeshi Nakayama.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/csu/common/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/common/Makefile.inc
diff -u src/lib/csu/common/Makefile.inc:1.22 src/lib/csu/common/Makefile.inc:1.23
--- src/lib/csu/common/Makefile.inc:1.22 Sat Nov 16 10:50:43 2013
+++ src/lib/csu/common/Makefile.inc Sun Nov 17 11:16:09 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.22 2013/11/16 10:50:43 martin Exp $
+# $NetBSD: Makefile.inc,v 1.23 2013/11/17 11:16:09 martin Exp $
.include <bsd.own.mk>
@@ -21,7 +21,7 @@ CFLAGS.crtbegin.c+= -fPIE
OBJS+= crtfm.o
.endif
-.if ${MACHINE_ARCH} == "sparc64" && "${COPTS:M-m32}" == ""
+.if ${CSU_MACHINE_ARCH} == "sparc64"
# create helper objects for the compiler to mark compiler memory models
.for m in medlow medmid medany
sparc_mc${m}.o: compident.S sysident_assym.h