summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2019-01-25 10:06:29 +0100
committerKefu Chai <kchai@redhat.com>2019-02-02 06:20:00 +0100
commit4eff55d0f1ba43a2812a91c8d8e9266472e4ccf1 (patch)
treed7192f34fe66c2e2fb863047e07f77d27ce9c191 /src/CMakeLists.txt
parentcrimson/osd: add heartbeat support (diff)
downloadceph-4eff55d0f1ba43a2812a91c8d8e9266472e4ccf1.tar.xz
ceph-4eff55d0f1ba43a2812a91c8d8e9266472e4ccf1.zip
cmake: disable GCC-9 warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d0cc193e971..c677d4100c5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -295,7 +295,7 @@ if(WITH_SEASTAR)
endmacro ()
set(Seastar_HWLOC OFF CACHE BOOL "" FORCE)
set(Seastar_STD_OPTIONAL_VARIANT_STRINGVIEW ON CACHE BOOL "" FORCE)
- set(Seastar_CXX_FLAGS "-Wno-sign-compare;-Wno-attributes" CACHE STRING "" FORCE)
+ set(Seastar_CXX_FLAGS "-Wno-sign-compare;-Wno-attributes;-Wno-pessimizing-move;-Wno-address-of-packed-member" CACHE STRING "" FORCE)
add_subdirectory(seastar)
# create the directory so cmake won't complain when looking at the imported
# target: Seastar exports this directory created at build-time