Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/libpam Fix the vax build and explain why...
details: https://anonhg.NetBSD.org/src/rev/6b60e74644fe
branches: trunk
changeset: 971703:6b60e74644fe
user: christos <christos%NetBSD.org@localhost>
date: Fri May 01 21:58:16 2020 +0000
description:
Fix the vax build and explain why...
diffstat:
lib/libpam/libpam/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r cfe260324f33 -r 6b60e74644fe lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile Fri May 01 21:43:23 2020 +0000
+++ b/lib/libpam/libpam/Makefile Fri May 01 21:58:16 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2020/04/29 02:16:56 riastradh Exp $
+# $NetBSD: Makefile,v 1.25 2020/05/01 21:58:16 christos Exp $
#-
# Copyright (c) 1998 Juniper Networks, Inc.
# All rights reserved.
@@ -40,6 +40,14 @@
.include <bsd.own.mk>
+.if ${MACHINE} == "vax"
+# On VAX everything is PIC so we don't need to build a separate _pic.a
+# libraries so we set MKPICLIB.vax=no in bsd.own.mk to save time and space.
+# But in libpam.a we include the static modules which we don't want in the
+# shared library, so we force the build system to build a separate _pic.a.
+MKPICLIB=yes
+.endif
+
DIST= ${NETBSDSRCDIR}/external/bsd/openpam/dist
LIB= pam
NOPROFILE=
Home |
Main Index |
Thread Index |
Old Index