diff options
| author | Hans Dedecker | 2019-01-04 09:31:33 +0000 |
|---|---|---|
| committer | Hans Dedecker | 2019-01-04 10:00:36 +0000 |
| commit | e892a0c1a1d3818e604d1420b8c8b6a257b04221 (patch) | |
| tree | fa15f455b91fde3330cabde3a3adc3d3433afb1d | |
| parent | 5f2c419109126ead730006366c6b4e83719523cf (diff) | |
| download | mountd-e892a0c1a1d3818e604d1420b8c8b6a257b04221.tar.gz | |
build: suppress format truncation warnings to avoid errors with gcc7
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 79aa852..aadc595 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(mountd C) -ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations) +ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-format-truncation) FIND_PATH(uci_include_dir uci.h) INCLUDE_DIRECTORIES(${uci_include_dir}) |