forked from pool/boringssl
20 lines
848 B
Diff
20 lines
848 B
Diff
![]() |
commit 225886dff82c04b5f689e7fb57d75c9ec18b45d1
|
||
|
Author: Jeff Kowalczyk <jkowalczyk@suse.com>
|
||
|
Date: Mon Mar 31 12:26:24 2025 -0700
|
||
|
|
||
|
0006-gcc-disable-werror.patch
|
||
|
|
||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 4d6f30e..76a3723 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -117,7 +117,7 @@ endif()
|
||
|
if(CMAKE_COMPILER_IS_GNUCXX OR CLANG)
|
||
|
# Note clang-cl is odd and sets both CLANG and MSVC. We base our configuration
|
||
|
# primarily on our normal Clang one.
|
||
|
- set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla")
|
||
|
+ set(C_CXX_FLAGS "-Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla")
|
||
|
if(MSVC)
|
||
|
# clang-cl sets different default warnings than clang. It also treats -Wall
|
||
|
# as -Weverything, to match MSVC. Instead -W3 is the alias for -Wall.
|