From: Pan Liu Date: Wed, 9 Aug 2017 13:16:54 +0000 (+0800) Subject: bluestore: fixed compilation error when enable spdk with gcc 4.8.5 X-Git-Tag: v13.0.0~160^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d463bd3f0e27efdc79a2b603c5ce3ad52dd8ac73;p=ceph-ci.git bluestore: fixed compilation error when enable spdk with gcc 4.8.5 Signed-off-by: Pan Liu Signed-off-by: Ziye Yang --- diff --git a/src/os/CMakeLists.txt b/src/os/CMakeLists.txt index a98fe1db060..dc35d088c14 100644 --- a/src/os/CMakeLists.txt +++ b/src/os/CMakeLists.txt @@ -65,8 +65,6 @@ endif() if(WITH_SPDK) list(APPEND libos_srcs bluestore/NVMEDevice.cc) - ADD_DEFINITIONS(-D__SSE4_2__ -D__SSE4_1__ -D__SSSE3__ -D__SSE3__) - add_compile_options(-mcrc32 -msse3 -mssse3 -msse4.1 -msse4.2) endif() add_library(os STATIC ${libos_srcs} $)