Skip to content

Commit

Permalink
Merge pull request #10443 from wjwithagen/patch-13
Browse files Browse the repository at this point in the history
src/CMakeLists.txt: remove double flag -Wno-invalid-offsetof

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 26, 2016
2 parents 4c4e0bc + a2e41a4 commit a459c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -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")
Expand Down

0 comments on commit a459c50

Please sign in to comment.