]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
compressor/zstd: fix build options
authorSage Weil <sage@redhat.com>
Sun, 12 Nov 2017 15:54:13 +0000 (09:54 -0600)
committerSage Weil <sage@redhat.com>
Sun, 12 Nov 2017 15:54:13 +0000 (09:54 -0600)
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 <sage@redhat.com>
src/compressor/zstd/CMakeLists.txt

index d9d2b6e560d3f7de863a21e8222f05dd7b076f1b..cb53f803c062f120d34a84ffa62079ee72eabe3f 100644 (file)
@@ -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