security/tpm2-tools: fix build on GCC architectures

Use C11 compiler:
tools/tpm2_tool.c:92: error: 'tpm2_option_flags' has no member named 'verbose'
tools/tpm2_tool.c:103: error: 'tpm2_option_flags' has no member named 'quiet'
tools/tpm2_tool.c:116: error: 'tpm2_option_flags' has no member named 'enable_errata'
This commit is contained in:
Piotr Kubaj 2020-10-07 12:23:51 +00:00
parent 508262737c
commit 12faa7eed0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551632

View File

@ -14,7 +14,7 @@ LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss \
libcurl.so:ftp/curl \
libuuid.so:misc/e2fsprogs-libuuid
USES= gmake libtool pkgconfig ssl
USES= compiler:c11 gmake libtool pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"