Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/libpam use GCC_NO_CAST_FUNCTION_TYPE.
details: https://anonhg.NetBSD.org/src/rev/cfdfd0e1140d
branches: trunk
changeset: 1004126:cfdfd0e1140d
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Oct 13 21:24:37 2019 +0000
description:
use GCC_NO_CAST_FUNCTION_TYPE.
diffstat:
lib/libpam/libpam/Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r ec506887fdf5 -r cfdfd0e1140d lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile Sun Oct 13 21:18:20 2019 +0000
+++ b/lib/libpam/libpam/Makefile Sun Oct 13 21:24:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/10/10 02:37:40 kre Exp $
+# $NetBSD: Makefile,v 1.22 2019/10/13 21:24:37 mrg Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -204,9 +204,7 @@
openpam_static.o ${STATIC_MODULE_LIBS}
CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 8 && ${ACTIVE_CC} == "gcc"
-COPTS.openpam_dynamic.c += -Wno-error=cast-function-type
-.endif
+COPTS.openpam_dynamic.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
.include <bsd.lib.mk>
.PATH.h: ${DIST}/include
Home |
Main Index |
Thread Index |
Old Index