Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/boot use the 32-bit compiler on sparc64...



details:   https://anonhg.NetBSD.org/src/rev/122eca610474
branches:  trunk
changeset: 515306:122eca610474
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Sep 22 00:56:23 2001 +0000

description:
use the 32-bit compiler on sparc64 (but not yet enabled.)

diffstat:

 sys/arch/sparc/stand/boot/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 03f6e9bb37cd -r 122eca610474 sys/arch/sparc/stand/boot/Makefile
--- a/sys/arch/sparc/stand/boot/Makefile        Sat Sep 22 00:53:01 2001 +0000
+++ b/sys/arch/sparc/stand/boot/Makefile        Sat Sep 22 00:56:23 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2001/06/21 03:13:05 uwe Exp $
+#      $NetBSD: Makefile,v 1.25 2001/09/22 00:56:23 mrg Exp $
 
 STRIPFLAG=
 PROGSOURCE=    boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c \
@@ -13,6 +13,12 @@
 
 .include "../Makefile.buildboot"
 
+.if ${MACHINE} == sparc64
+CFLAGS+=       -m32
+LDFLAGS+=      -m elf32_sparc
+AFLAGS+=       -Wa,-32
+.endif
+
 .include <bsd.own.mk>
 
 OBJS=${SRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}



Home | Main Index | Thread Index | Old Index