Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/Makefile,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.146 retrieving revision 1.147 diff -u -p -r1.146 -r1.147 --- src/lib/libc/Makefile 2011/06/19 11:31:55 1.146 +++ src/lib/libc/Makefile 2011/06/21 02:32:55 1.147 @@ -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