Module Name: src Committed By: riastradh Date: Tue May 7 20:56:25 UTC 2024
Modified Files: src/share/mk: bsd.lib.mk Log Message: bsd.lib.mk: Allow MACHINE_CPU for default expsym file. To generate a diff of this commit: cvs rdiff -u -r1.403 -r1.404 src/share/mk/bsd.lib.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.lib.mk diff -u src/share/mk/bsd.lib.mk:1.403 src/share/mk/bsd.lib.mk:1.404 --- src/share/mk/bsd.lib.mk:1.403 Mon May 6 08:43:37 2024 +++ src/share/mk/bsd.lib.mk Tue May 7 20:56:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.403 2024/05/06 08:43:37 mrg Exp $ +# $NetBSD: bsd.lib.mk,v 1.404 2024/05/07 20:56:25 riastradh Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include <bsd.init.mk> @@ -662,6 +662,8 @@ ${_LIB.so.full}: ${_MAINLIBDEPS} # to the actual symbols is nonempty, and show the diff in that case. .if exists(${.CURDIR}/${LIB}.${MACHINE_ARCH}.expsym) LIB_EXPSYM?= ${LIB}.${MACHINE_ARCH}.expsym +.elif exists(${.CURDIR}/${LIB}.${MACHINE_CPU}.expsym) +LIB_EXPSYM?= ${LIB}.${MACHINE_CPU}.expsym .elif exists(${.CURDIR}/${LIB}.expsym) LIB_EXPSYM?= ${LIB}.expsym .endif