-Wno-array-bounds is no longer needed for clang here

This commit is contained in:
joerg 2011-08-09 13:00:58 +00:00
parent 78384c1939
commit d43405d38d
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh
.if ${HAVE_GCC} == 45
# XXX
COPTS.ftp.c+= -Wno-array-bounds
COPTS.ftp.c+= ${${ACTIVE_CC} == "gcc":?-Wno-array-bounds:}
.endif

View File

@ -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 @@ NTP_MAKEFILE_INC=yes
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