Module Name: src
Committed By: christos
Date: Wed Oct 9 22:05:10 UTC 2019
Modified Files:
src/lib/libpam/libpam: Makefile
Log Message:
no error for function cast
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/lib/libpam/libpam/Makefile:1.20
--- src/lib/libpam/libpam/Makefile:1.19 Sun May 21 11:28:41 2017
+++ src/lib/libpam/libpam/Makefile Wed Oct 9 18:05:09 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/05/21 15:28:41 riastradh Exp $
+# $NetBSD: Makefile,v 1.20 2019/10/09 22:05:09 christos Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -204,6 +204,9 @@ openpam_static_modules.o: openpam_static
openpam_static.o ${STATIC_MODULE_LIBS}
CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare
+.if ${ACTIVE_CC} == "gcc"
+COPTS.openpam_dynamic.c += -Wno-error=cast-function-type
+.endif
.include <bsd.lib.mk>
.PATH.h: ${DIST}/include