From 00c76bb75b55555e920eb5fa33299137df1b14d9 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 13 Feb 2023 21:52:23 -0500 Subject: [PATCH] fix(zstd) darwin needs an explicit `-std=c++11` flag to compile as of the newest release. fixes #245 fixes #246 --- projects/facebook.com/zstd/package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/facebook.com/zstd/package.yml b/projects/facebook.com/zstd/package.yml index 03f3e2b9..844888e5 100644 --- a/projects/facebook.com/zstd/package.yml +++ b/projects/facebook.com/zstd/package.yml @@ -40,6 +40,10 @@ build: - -DZSTD_ZLIB_SUPPORT=ON - -DZSTD_LZMA_SUPPORT=ON - -DZSTD_LZ4_SUPPORT=ON + darwin: + ARGS: + # Otherwise we get errors from clang + - -DCMAKE_CXX_FLAGS="-std=c++11" test: | export fixture="asdf123%!*"