Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/libpam no error for function cast
details: https://anonhg.NetBSD.org/src/rev/79e204c0e35b
branches: trunk
changeset: 464516:79e204c0e35b
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 09 22:05:09 2019 +0000
description:
no error for function cast
diffstat:
lib/libpam/libpam/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 0230c9b29027 -r 79e204c0e35b lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile Wed Oct 09 21:49:50 2019 +0000
+++ b/lib/libpam/libpam/Makefile Wed Oct 09 22:05:09 2019 +0000
@@ -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.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
Home |
Main Index |
Thread Index |
Old Index