From e9c0f05323216d89a4238072e8b07987a2045a1d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 12 Nov 2017 09:54:13 -0600 Subject: [PATCH] compressor/zstd: fix build options Among other things, pass -O3, so that it goes faster. Huge thank you to Yann Collet for identifying this as a build issue! Signed-off-by: Sage Weil --- src/compressor/zstd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compressor/zstd/CMakeLists.txt b/src/compressor/zstd/CMakeLists.txt index d9d2b6e560d..cb53f803c06 100644 --- a/src/compressor/zstd/CMakeLists.txt +++ b/src/compressor/zstd/CMakeLists.txt @@ -1,7 +1,7 @@ # zstd # libzstd - build it statically -set(ZSTD_C_FLAGS -fPIC -Wno-unused-variable -O3) +set(ZSTD_C_FLAGS "-fPIC -Wno-unused-variable -O3") include(ExternalProject) ExternalProject_Add(zstd_ext