SHA256
1
0
forked from pool/bladeRF
bladeRF/bladeRF-add-cflag-Wno-format-truncation.diff
Martin Pluskal 3c6b59f0ed Accepting request 500302 from home:mnhauke:sdr-devel
- Add patch:
  - bladeRF-add-cflag-Wno-format-truncation.diff
    (fix build for Tumbleweed)

OBS-URL: https://build.opensuse.org/request/show/500302
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=15
2017-06-01 07:45:13 +00:00

13 lines
418 B
Diff

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)