summarylogtreecommitdiffstats
path: root/0001-fix-build-werror.patch
blob: 0ce412bef2e60c7c67b44eee342dfa0f2b74f6c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/arcan-git/src/CMakeLists.txt
+++ b/arcan-git/src/CMakeLists.txt
@@ -225,7 +225,8 @@ if ("${CMAKE_C_COMPILER_ID}" MATCHES "GN
 		-Wno-unused-value
 		-Wno-unused-variable
 		-Wno-unused-result
-		-Wformat=0
+		-Wno-error=format-security
+		-Wno-format
 	)
 
 elseif ("${CMAKE_C_COMPILER_ID}" MATCHES "Clang" AND NOT ENABLE_WALL_SPAM)