From 20c3ee956ccb3dfc0d9c26d75dcd857341bcc08a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 13 Mar 2026 00:08:37 +0100 Subject: [PATCH] CMakeLists.txt: remove -Werror=format-nonliteral The musl libc fortify source headers are using a nonliteral format string in the sprintf() and snprintf() function. Do not fail in ucode Not everyone is using the workaround in fortify source headers. Signed-off-by: Hauke Mehrtens --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0320ca88..4223afa0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,6 @@ if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 6) -Wformat -Werror=implicit-function-declaration -Werror=format-security - -Werror=format-nonliteral ) endif()