Skip to content

Commit 33fde38

Browse files
committed
fix(build): preserve warning flag ordering for Snappy
1 parent f8a639b commit 33fde38

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,6 @@ set(EP_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
349349
set(EP_C_FLAGS "${CMAKE_C_FLAGS}")
350350
string(REPLACE "-Wglobal-constructors" "" EP_CXX_FLAGS ${EP_CXX_FLAGS})
351351
string(REPLACE "-Wglobal-constructors" "" EP_C_FLAGS ${EP_C_FLAGS})
352-
string(REPLACE "-Werror" "" EP_CXX_FLAGS ${EP_CXX_FLAGS})
353-
string(REPLACE "-Werror" "" EP_C_FLAGS ${EP_C_FLAGS})
354352
# Remove coverage flags from third-party dependencies to avoid gcov dependency
355353
string(REPLACE "--coverage" "" EP_CXX_FLAGS ${EP_CXX_FLAGS})
356354
string(REPLACE "--coverage" "" EP_C_FLAGS ${EP_C_FLAGS})

0 commit comments

Comments
 (0)