add some XXX'd -Wno-foo if HAVE_GCC >= 45.
XXX: someone should look at these.
This commit is contained in:
parent
7496e29126
commit
0a0dd75b65
7
external/bsd/fetch/lib/Makefile
vendored
7
external/bsd/fetch/lib/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2009/10/20 01:21:28 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/06/21 02:32:55 mrg Exp $
|
||||
|
||||
LIB= fetch
|
||||
SRCS= fetch.c common.c ftp.c http.c file.c
|
||||
@ -37,3 +37,8 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh
|
||||
${LIBFETCHDIR}/http.errors > ${.TARGET}
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if ${HAVE_GCC} == 45
|
||||
# XXX
|
||||
COPTS.ftp.c+= -Wno-array-bounds
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.146 2011/06/19 11:31:55 nakayama Exp $
|
||||
# $NetBSD: Makefile,v 1.147 2011/06/21 02:32:55 mrg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
@ -147,3 +147,10 @@ CSHLIBFLAGS+= -D_I18N_DYNAMIC
|
||||
# force the dynamic linker to initialize libc first
|
||||
SHLIB_SHFLAGS+= -Wl,-z,initfirst
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} >= 45
|
||||
COPTS.res_comp.c+= -Wno-cast-qual
|
||||
COPTS.vfwprintf.c+= -Wno-cast-qual
|
||||
COPTS.vfprintf.c+= -Wno-cast-qual
|
||||
COPTS.vswprintf.c+= -Wno-cast-qual
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.41 2010/02/03 15:34:43 roy Exp $
|
||||
# $NetBSD: Makefile,v 1.42 2011/06/21 02:32:55 mrg Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
|
||||
USE_SHLIBDIR= yes
|
||||
@ -113,10 +113,17 @@ historyn.c: makelist Makefile
|
||||
mv ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
tc1.o: ${LIBEDITDIR}/TEST/tc1.c
|
||||
|
||||
|
||||
tc1: libedit.a tc1.o
|
||||
${_MKTARGET_LINK}
|
||||
${CC} ${LDFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermlib
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} >= 45
|
||||
COPTS.editline.c+= -Wno-cast-qual
|
||||
COPTS.tokenizer.c+= -Wno-cast-qual
|
||||
COPTS.tokenizern.c+= -Wno-cast-qual
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2011/01/16 01:22:50 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2011/06/21 02:32:55 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -14,3 +14,7 @@ INCSDIR=/usr/include
|
||||
WARNS= 4
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if ${HAVE_GCC} >= 45
|
||||
COPTS.isns_pdu.c+= -fno-strict-aliasing
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.11 2010/12/10 20:06:17 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2011/06/21 02:32:55 mrg Exp $
|
||||
#-
|
||||
# Copyright (c) 1998 Juniper Networks, Inc.
|
||||
# All rights reserved.
|
||||
@ -191,3 +191,8 @@ openpam_static_modules.o: openpam_static.o ${STATIC_MODULE_LIBS}
|
||||
.PATH.h: ${DIST}/include
|
||||
.PATH.c: ${DIST}/lib
|
||||
.PATH.3: ${DIST}/doc/man
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} >= 45
|
||||
COPTS.openpam_dispatch.c+= -Wno-cast-qual
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user