Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Make linker warnings fatal by default for Clang, ev...
details: https://anonhg.NetBSD.org/src/rev/1b41cff2f536
branches: trunk
changeset: 780889:1b41cff2f536
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Aug 10 16:11:43 2012 +0000
description:
Make linker warnings fatal by default for Clang, even if not building
GCC.
diffstat:
share/mk/bsd.sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0c8727105d8d -r 1b41cff2f536 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Fri Aug 10 16:10:29 2012 +0000
+++ b/share/mk/bsd.sys.mk Fri Aug 10 16:11:43 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.216 2012/06/25 16:48:55 abs Exp $
+# $NetBSD: bsd.sys.mk,v 1.217 2012/08/10 16:11:43 joerg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -40,7 +40,7 @@
.if (!defined(MKPIC) || ${MKPIC} != "no") && \
(!defined(LDSTATIC) || ${LDSTATIC} != "-static")
# XXX there are some strange problems not yet resolved
-. if !defined(HAVE_GCC)
+. if !defined(HAVE_GCC) || defined(HAVE_LLVM)
LDFLAGS+= -Wl,--fatal-warnings
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index