File bladeRF-add-cflag-Wno-format-truncation.patch of Package bladeRF
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 848b62d..70a5ca3 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -91,6 +91,7 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR add_definitions(-Wall) add_definitions(-Wextra) add_definitions(-Wno-unused-parameter) + add_definitions(-Wno-format-truncation) if(TREAT_WARNINGS_AS_ERRORS) add_definitions(-Werror)