Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk XXX: for now, disable fatal linker warnings for GCC...
details: https://anonhg.NetBSD.org/src/rev/0d752f67a85b
branches: trunk
changeset: 766668:0d752f67a85b
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Jun 29 08:10:05 2011 +0000
description:
XXX: for now, disable fatal linker warnings for GCC 4.5.
diffstat:
share/mk/bsd.sys.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 152e6d00d6de -r 0d752f67a85b share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Wed Jun 29 08:09:43 2011 +0000
+++ b/share/mk/bsd.sys.mk Wed Jun 29 08:10:05 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.204 2011/06/20 06:52:37 mrg Exp $
+# $NetBSD: bsd.sys.mk,v 1.205 2011/06/29 08:10:05 mrg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -39,7 +39,10 @@
# XXX on linking static libs
.if (!defined(MKPIC) || ${MKPIC} != "no") && \
(!defined(LDSTATIC) || ${LDSTATIC} != "-static")
+# XXX there are some strange problems not yet resolved
+. if !defined(HAVE_GCC) || ${HAVE_GCC} != 45
LDFLAGS+= -Wl,--fatal-warnings
+. endif
.endif
.endif
.if ${WARNS} > 1
Home |
Main Index |
Thread Index |
Old Index