Blame SOURCES/libfido2-gcc11.patch

980fa6
diff --git a/CMakeLists.txt b/CMakeLists.txt
980fa6
index dbd5fa5..a5cdbbb 100644
980fa6
--- a/CMakeLists.txt
980fa6
+++ b/CMakeLists.txt
980fa6
@@ -133,6 +133,7 @@ else()
980fa6
 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
980fa6
 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-prototypes")
980fa6
 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wbad-function-cast")
980fa6
+	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-stringop-overflow")
980fa6
 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic")
980fa6
 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic-errors")
980fa6
 	check_c_compiler_flag("-fstack-protector-all" HAVE_STACK_PROTECTOR_ALL)