Module Name: src
Committed By: snj
Date: Fri May 22 16:58:47 UTC 2015
Modified Files:
src/lib/libpam/libpam [netbsd-7]: Makefile
Log Message:
Pull up following revision(s) (requested by joerg in ticket #789):
lib/libpam/libpam/Makefile: revision 1.18
When building with clang, make warnings about NULL checks of parameters
with attribute nonnull non-fatal.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.4.1 src/lib/libpam/libpam/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpam/libpam/Makefile
diff -u src/lib/libpam/libpam/Makefile:1.16 src/lib/libpam/libpam/Makefile:1.16.4.1
--- src/lib/libpam/libpam/Makefile:1.16 Sat Dec 28 18:04:18 2013
+++ src/lib/libpam/libpam/Makefile Fri May 22 16:58:47 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2013/12/28 18:04:18 christos Exp $
+# $NetBSD: Makefile,v 1.16.4.1 2015/05/22 16:58:47 snj Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -204,6 +204,8 @@ openpam_static_modules.o: openpam_static
${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \
openpam_static.o ${STATIC_MODULE_LIBS}
+CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare
+
.include <bsd.lib.mk>
.PATH.h: ${DIST}/include
.PATH.c: ${DIST}/lib