Specify SANITIZER_RENAME_SYMBOL in diffutils

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:01:13 +00:00
parent 17b10cd3f4
commit f1e4bfafe7
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 2016/01/13 03:39:28 christos Exp $
# $NetBSD: Makefile.inc,v 1.2 2018/06/25 18:01:13 kamil Exp $
WARNS= 0
@ -6,3 +6,5 @@ IDIST= ${NETBSDSRCDIR}/external/gpl2/diffutils/dist
CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \
-I${IDIST}/../include -I${IDIST}/lib
SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree