Module Name: src
Committed By: martin
Date: Sat Nov 16 10:50:43 UTC 2013
Modified Files:
src/lib/csu/common: Makefile.inc
Log Message:
We do not want to build the code model markes when creating the 32bit
compat libs for sparc64
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 src/lib/csu/common/Makefile.inc:1.22
--- src/lib/csu/common/Makefile.inc:1.21 Thu Nov 14 12:19:34 2013
+++ src/lib/csu/common/Makefile.inc Sat Nov 16 10:50:43 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.21 2013/11/14 12:19:34 martin Exp $
+# $NetBSD: Makefile.inc,v 1.22 2013/11/16 10:50:43 martin Exp $
.include <bsd.own.mk>
@@ -21,7 +21,7 @@ CFLAGS.crtbegin.c+= -fPIE
OBJS+= crtfm.o
.endif
-.if ${MACHINE_ARCH} == "sparc64"
+.if ${MACHINE_ARCH} == "sparc64" && "${COPTS:M-m32}" == ""
# 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