Module Name: src
Committed By: joerg
Date: Sat Oct 25 00:57:59 UTC 2014
Modified Files:
src/lib/libpam/libpam: Makefile
Log Message:
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.17 -r1.18 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.17 src/lib/libpam/libpam/Makefile:1.18
--- src/lib/libpam/libpam/Makefile:1.17 Fri Oct 24 18:27:41 2014
+++ src/lib/libpam/libpam/Makefile Sat Oct 25 00:57:59 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/10/24 18:27:41 christos Exp $
+# $NetBSD: Makefile,v 1.18 2014/10/25 00:57:59 joerg Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -205,6 +205,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/libpam