From 12faa7eed0f2b5628d90677b42e326ccbd98e4b0 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 7 Oct 2020 12:23:51 +0000 Subject: [PATCH] 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' --- security/tpm2-tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/tpm2-tools/Makefile b/security/tpm2-tools/Makefile index fd6b7eb5843e..13bae0a01721 100644 --- a/security/tpm2-tools/Makefile +++ b/security/tpm2-tools/Makefile @@ -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"