MFH: r551632

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'

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-11 19:02:18 +00:00
parent ce2b2986dc
commit 8614949e63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552075

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"