Module Name: src
Committed By: joerg
Date: Tue Aug 9 13:00:59 UTC 2011
Modified Files:
src/external/bsd/fetch/lib: Makefile
src/external/bsd/ntp: Makefile.inc
Log Message:
-Wno-array-bounds is no longer needed for clang here
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/fetch/lib/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/fetch/lib/Makefile
diff -u src/external/bsd/fetch/lib/Makefile:1.6 src/external/bsd/fetch/lib/Makefile:1.7
--- src/external/bsd/fetch/lib/Makefile:1.6 Tue Jun 21 02:32:55 2011
+++ src/external/bsd/fetch/lib/Makefile Tue Aug 9 13:00:58 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/06/21 02:32:55 mrg Exp $
+# $NetBSD: Makefile,v 1.7 2011/08/09 13:00:58 joerg Exp $
LIB= fetch
SRCS= fetch.c common.c ftp.c http.c file.c
@@ -40,5 +40,5 @@
.if ${HAVE_GCC} == 45
# XXX
-COPTS.ftp.c+= -Wno-array-bounds
+COPTS.ftp.c+= ${${ACTIVE_CC} == "gcc":?-Wno-array-bounds:}
.endif
Index: src/external/bsd/ntp/Makefile.inc
diff -u src/external/bsd/ntp/Makefile.inc:1.6 src/external/bsd/ntp/Makefile.inc:1.7
--- src/external/bsd/ntp/Makefile.inc:1.6 Thu May 26 12:56:25 2011
+++ src/external/bsd/ntp/Makefile.inc Tue Aug 9 13:00:59 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.6 2011/05/26 12:56:25 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.7 2011/08/09 13:00:59 joerg Exp $
.if !defined(NTP_MAKEFILE_INC)
NTP_MAKEFILE_INC=yes
@@ -6,7 +6,7 @@
USE_FORT?= yes # network client/server
CWARNFLAGS.clang+= -Wno-unneeded-internal-declaration \
- -Wno-format-security -Wno-array-bounds \
+ -Wno-format-security \
-Wno-parentheses -Wno-constant-logical-operand
WARNS?= 5