Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/common Simplify previous by using CSU_MACHINE_ARCH. ...



details:   https://anonhg.NetBSD.org/src/rev/6e86416d001a
branches:  trunk
changeset: 791416:6e86416d001a
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 17 11:16:09 2013 +0000

description:
Simplify previous by using CSU_MACHINE_ARCH. Hint from Takeshi Nakayama.

diffstat:

 lib/csu/common/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5ed2e0e1cdce -r 6e86416d001a lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Sun Nov 17 08:32:55 2013 +0000
+++ b/lib/csu/common/Makefile.inc       Sun Nov 17 11:16:09 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index