Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Don't use "-std=c99" for NetBSD-vax because gcc 2.95.3 doesn...
details: https://anonhg.NetBSD.org/src/rev/c2681a6fc48b
branches: trunk
changeset: 580021:c2681a6fc48b
user: tron <tron%NetBSD.org@localhost>
date: Tue Apr 05 11:56:09 2005 +0000
description:
Don't use "-std=c99" for NetBSD-vax because gcc 2.95.3 doesn't support it.
diffstat:
doc/HACKS | 11 ++++++++++-
share/mk/bsd.sys.mk | 4 ++--
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 28020a81ebdc -r c2681a6fc48b doc/HACKS
--- a/doc/HACKS Tue Apr 05 07:03:33 2005 +0000
+++ b/doc/HACKS Tue Apr 05 11:56:09 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.42 2005/02/22 18:47:09 christos Exp $
+# $NetBSD: HACKS,v 1.43 2005/04/05 11:56:09 tron Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -183,6 +183,15 @@
Should be reverted when a newer gcc is ready for vax.
kcah
+ hack vax gcc 2.95.3 doesn't understand "-std=c99"
+ cdat 5 April 2005
+ who tron
+ file src/share/mk/bsd.sys.mk
+ descr
+ We cannot use "-std=c99" for compiler warning level 4 and above
+ because gcc 2.95.3 doesn't support that option.
+ kcah
+
port sparc64
hack binutil-2.11-sparc64-pltrela
diff -r 28020a81ebdc -r c2681a6fc48b share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Tue Apr 05 07:03:33 2005 +0000
+++ b/share/mk/bsd.sys.mk Tue Apr 05 11:56:09 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.115 2005/02/20 01:31:44 matt Exp $
+# $NetBSD: bsd.sys.mk,v 1.116 2005/04/05 11:56:09 tron Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -26,7 +26,7 @@
.if ${WARNS} > 2
CFLAGS+= -Wcast-qual -Wwrite-strings
.endif
-.if ${WARNS} > 3
+.if ${WARNS} > 3 && ${MACHINE_ARCH} != "vax"
CFLAGS+= -std=c99
.endif
.endif
Home |
Main Index |
Thread Index |
Old Index