From d43405d38dca239752d107706a16f80342f1d0f0 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 9 Aug 2011 13:00:58 +0000 Subject: [PATCH] -Wno-array-bounds is no longer needed for clang here --- external/bsd/fetch/lib/Makefile | 4 ++-- external/bsd/ntp/Makefile.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/external/bsd/fetch/lib/Makefile b/external/bsd/fetch/lib/Makefile index a0300423ab41..4b81954eade4 100644 --- a/external/bsd/fetch/lib/Makefile +++ b/external/bsd/fetch/lib/Makefile @@ -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 diff --git a/external/bsd/ntp/Makefile.inc b/external/bsd/ntp/Makefile.inc index f1c2e92d38a0..af4040cffbd3 100644 --- a/external/bsd/ntp/Makefile.inc +++ b/external/bsd/ntp/Makefile.inc @@ -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