As an interim measure until a more permanent solution is implemented

workaround the following error:

/usr/src/contrib/elftoolchain/strings/strings.c:198:55: error: use of
undeclared identifier
'FA_OPEN' fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);

Reported by:	O. Hartmann <ohartmann@walstatt.org>
Reported by:	Michael Butler <imb@protected-networks.net>
Reported by:	gjb@ & cy@ (implicit)
Reviewed by:	emaste@
Noted by:	rgrimes@
This commit is contained in:
Cy Schubert 2019-04-18 01:02:00 +00:00
parent bfcf888a87
commit 6389bef8f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346341

View File

@ -59,9 +59,7 @@ INCS+= capsicum_helpers.h
INCS+= libcasper.h
.endif
.if !exists(/usr/include/casper/cap_fileargs.h)
CASPERINC+= ${SRCTOP}/lib/libcasper/services/cap_fileargs/cap_fileargs.h
.endif
.if empty(SRCS)
SRCS= dummy.c