1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date: Mon, 10 Mar 2025 14:43:04 +0000
Subject: Add -Wno-format-security to CMakeLists.txt in src/dmidecode/
Forwarded: not required, Debian-specific
---
src/core/dmidecode/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/dmidecode/CMakeLists.txt b/src/core/dmidecode/CMakeLists.txt
index 682ea7a..9397ac0 100644
--- a/src/core/dmidecode/CMakeLists.txt
+++ b/src/core/dmidecode/CMakeLists.txt
@@ -4,7 +4,7 @@ project(dmidecode
)
# Config (dmidecode)
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format-security")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wno-shift-count-overflow")
message(STATUS "Using built-in ${PROJECT_NAME}, version ${PROJECT_VERSION}")
|