Module Name:    src
Committed By:   riastradh
Date:           Fri Nov 22 16:08:43 UTC 2024

Modified Files:
        src/share/mk: bsd.lib.mk

Log Message:
bsd.lib.mk: Use TOOL_GREP, not grep.


To generate a diff of this commit:
cvs rdiff -u -r1.413 -r1.414 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.413 src/share/mk/bsd.lib.mk:1.414
--- src/share/mk/bsd.lib.mk:1.413	Fri Nov 22 02:43:21 2024
+++ src/share/mk/bsd.lib.mk	Fri Nov 22 16:08:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.lib.mk,v 1.413 2024/11/22 02:43:21 riastradh Exp $
+#	$NetBSD: bsd.lib.mk,v 1.414 2024/11/22 16:08:43 riastradh Exp $
 #	@(#)bsd.lib.mk	8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -698,9 +698,9 @@ LIB_EXPSYM?=	${LIB}.expsym
 # down anywhere and I'm not sure there's any way to ask the linker to
 # simply not export the symbols.
 .if !empty(VERSION_MAP)
-_EXPSYM_PIPE_GREP=		# empty
+_EXPSYM_PIPE_GREP=	# empty
 .else
-_EXPSYM_PIPE_GREP=		| grep -Fvx ${_EXPSYM_IGNORE:@_s_@-e ${_s_:Q}@}
+_EXPSYM_PIPE_GREP=	| ${TOOL_GREP} -Fvx ${_EXPSYM_IGNORE:@_s_@-e ${_s_:Q}@}
 _EXPSYM_IGNORE+=		_end
 _EXPSYM_IGNORE+=		_fini
 _EXPSYM_IGNORE+=		_init

Reply via email to