Specify SANITIZER_RENAME_SYMBOL in grep

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
This commit is contained in:
kamil 2018-06-25 18:02:49 +00:00
parent f1e4bfafe7
commit 45d1d00b99
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile.inc,v 1.1 2016/01/10 22:16:40 christos Exp $
# $NetBSD: Makefile.inc,v 1.2 2018/06/25 18:02:49 kamil Exp $
.include <bsd.own.mk>
SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree
WARNS= 0
IDIST= ${NETBSDSRCDIR}/external/gpl2/grep/dist