mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 18:33:17 +00:00
Remove -Werror
This commit is contained in:
12
packages/solidity/EthCompilerSettings.cmake.patch
Normal file
12
packages/solidity/EthCompilerSettings.cmake.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake
|
||||
index 3bcdad47b..e7d2a82b8 100644
|
||||
--- a/cmake/EthCompilerSettings.cmake
|
||||
+++ b/cmake/EthCompilerSettings.cmake
|
||||
@@ -46,7 +46,6 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
|
||||
# to fix warnings as they arise, so they don't accumulate "to be fixed later".
|
||||
add_compile_options(-Wall)
|
||||
add_compile_options(-Wextra)
|
||||
- add_compile_options(-Werror)
|
||||
add_compile_options(-pedantic)
|
||||
add_compile_options(-Wno-unknown-pragmas)
|
||||
add_compile_options(-Wimplicit-fallthrough)
|
||||
Reference in New Issue
Block a user