From a2e41a4f307a37bf9ddb2ee1e158d23777aed12f Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Tue, 26 Jul 2016 14:56:09 +0200 Subject: [PATCH] src/CMakeLists.txt: remove double flag -Wno-invalid-offsetof Signed-off-by: Willem Jan Withagen --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 01c727f49fcef..1fb94ec8aca3d 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") -- 2.39.5