-Wno-array-bounds is no longer needed for clang here
This commit is contained in:
parent
78384c1939
commit
d43405d38d
4
external/bsd/fetch/lib/Makefile
vendored
4
external/bsd/fetch/lib/Makefile
vendored
@ -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
|
||||
|
4
external/bsd/ntp/Makefile.inc
vendored
4
external/bsd/ntp/Makefile.inc
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user