Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Add some extra flags for the x86-64 port. Disable -...
details: https://anonhg.NetBSD.org/src/rev/b92ba6e2be3e
branches: trunk
changeset: 511394:b92ba6e2be3e
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Jun 19 01:37:44 2001 +0000
description:
Add some extra flags for the x86-64 port. Disable -O in sys.mk
(which is where all ports set it); there seem to be some lurking
optimization bugs for the x86-64.
diffstat:
share/mk/bsd.own.mk | 10 ++++++++--
share/mk/sys.mk | 4 +++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (56 lines):
diff -r f6373301cbe7 -r b92ba6e2be3e share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Jun 19 01:11:03 2001 +0000
+++ b/share/mk/bsd.own.mk Tue Jun 19 01:37:44 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.163 2001/06/18 17:04:45 simonb Exp $
+# $NetBSD: bsd.own.mk,v 1.164 2001/06/19 01:37:44 fvdl Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -89,7 +89,8 @@
.endif
# The sparc64 port is incomplete.
-.if ${MACHINE_ARCH} == "sparc64"
+# Profiling and linting is also off on the x86_64 port at the moment.
+.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64"
NOPROFILE=1
NOLINT=1
.endif
@@ -105,6 +106,7 @@
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc" || \
${MACHINE_ARCH} == "sparc64" || \
+ ${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE} == "next68k" || \
${MACHINE} == "sun3" || \
@@ -116,6 +118,10 @@
OBJECT_FMT?=a.out
.endif
+.if ${MACHINE_ARCH} == "x86_64"
+CFLAGS+=-Wno-format -fno-builtin
+.endif
+
# Location of the file that contains the major and minor numbers of the
# version of a shared library. If this file exists a shared library
# will be built by <bsd.lib.mk>.
diff -r f6373301cbe7 -r b92ba6e2be3e share/mk/sys.mk
--- a/share/mk/sys.mk Tue Jun 19 01:11:03 2001 +0000
+++ b/share/mk/sys.mk Tue Jun 19 01:37:44 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp $
+# $NetBSD: sys.mk,v 1.59 2001/06/19 01:37:44 fvdl Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run NetBSD.
@@ -28,6 +28,8 @@
${MACHINE_ARCH} == "sparc" || \
${MACHINE_ARCH} == "vax"
DBG?= -O2
+.elif ${MACHINE_ARCH} == "x86_64"
+DBG?=
.else
DBG?= -O
.endif
Home |
Main Index |
Thread Index |
Old Index