git: 6882d53b7fb8 - main - zstd: build with C11

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Tue, 01 Mar 2022 20:09:08 UTC
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=6882d53b7fb884d9fe390d579d4e48ca21d1a48f

commit 6882d53b7fb884d9fe390d579d4e48ca21d1a48f
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-03-01 20:07:44 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-03-01 20:07:44 +0000

    zstd: build with C11
    
    This enables thread-aware timers which in turn fixes benchmark result
    reports.
    
    Reviewed by:    cem
    Differential Revision:  https://reviews.freebsd.org/D34238
---
 usr.bin/zstd/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/zstd/Makefile b/usr.bin/zstd/Makefile
index 797558940c36..4ecf16f07b40 100644
--- a/usr.bin/zstd/Makefile
+++ b/usr.bin/zstd/Makefile
@@ -26,6 +26,7 @@ MLINKS=	zstd.1 unzstd.1 \
 	zstd.1 zstdcat.1 \
 	zstd.1 zstdmt.1
 
+CSTD=c11
 WARNS?=	2
 LIBADD=	zstd
 .PATH: ${SRCTOP}/sys/contrib/zstd/programs