Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Drop explicit medlow model and default to -O2 for s...
details: https://anonhg.NetBSD.org/src/rev/be22f8be1239
branches: trunk
changeset: 552132:be22f8be1239
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 19 16:32:10 2003 +0000
description:
Drop explicit medlow model and default to -O2 for sparc64.
diffstat:
share/mk/bsd.prog.mk | 5 +----
share/mk/sys.mk | 5 ++---
2 files changed, 3 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 16ed173c50eb -r be22f8be1239 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Fri Sep 19 16:30:31 2003 +0000
+++ b/share/mk/bsd.prog.mk Fri Sep 19 16:32:10 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.187 2003/09/14 22:36:55 lukem Exp $
+# $NetBSD: bsd.prog.mk,v 1.188 2003/09/19 16:32:10 martin Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -28,9 +28,6 @@
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include}
CXXFLAGS+= ${DESTDIR:D-nostdinc++ ${CPPFLAG_ISYSTEMXX} ${DESTDIR}/usr/include/g++}
CFLAGS+= ${COPTS}
-.if ${MACHINE_ARCH} == "sparc64"
-CFLAGS+= -mcmodel=medlow
-.endif
# ELF platforms depend on crti.o, crtbegin.o, crtend.o, and crtn.o
.if ${OBJECT_FMT} == "ELF"
diff -r 16ed173c50eb -r be22f8be1239 share/mk/sys.mk
--- a/share/mk/sys.mk Fri Sep 19 16:30:31 2003 +0000
+++ b/share/mk/sys.mk Fri Sep 19 16:32:10 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.77 2003/07/27 19:08:03 uwe Exp $
+# $NetBSD: sys.mk,v 1.78 2003/09/19 16:32:12 martin Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run NetBSD.
@@ -30,12 +30,11 @@
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sh5el" || ${MACHINE_ARCH} == "sh5eb" || \
${MACHINE_ARCH} == "sparc" || \
+ ${MACHINE_ARCH} == "sparc64" || \
${MACHINE_ARCH} == "vax"
DBG?= -O2
.elif ${MACHINE_ARCH} == "hppa"
DBG?=
-.elif ${MACHINE_ARCH} == "sparc64"
-DBG?= -O -ffixed-g4 #Hack for embedany memory model compatibility
.else
DBG?= -O
.endif
Home |
Main Index |
Thread Index |
Old Index