From: Hans Dedecker Date: Fri, 4 Jan 2019 09:31:33 +0000 (+0100) Subject: build: suppress format truncation warnings to avoid errors with gcc7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e892a0c1a1d3818e604d1420b8c8b6a257b04221;p=oweals%2Fmountd.git build: suppress format truncation warnings to avoid errors with gcc7 Signed-off-by: Hans Dedecker --- 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})