From: Willem Jan Withagen Date: Tue, 26 Jul 2016 12:56:09 +0000 (+0200) Subject: src/CMakeLists.txt: remove double flag -Wno-invalid-offsetof X-Git-Tag: ses5-milestone5~301^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2e41a4f307a37bf9ddb2ee1e158d23777aed12f;p=ceph.git src/CMakeLists.txt: remove double flag -Wno-invalid-offsetof Signed-off-by: Willem Jan Withagen --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 01c727f49fc..1fb94ec8aca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -95,7 +95,7 @@ else(no_yasm) endif(no_yasm) -set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -ftemplate-depth-1024 -Wno-invalid-offsetof -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -Woverloaded-virtual") +set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -Woverloaded-virtual") # require c++11 if(CMAKE_VERSION VERSION_LESS "3.1")