projects
/
project
/
mountd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2c419
)
build: suppress format truncation warnings to avoid errors with gcc7
author
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 4 Jan 2019 09:31:33 +0000
(10:31 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 4 Jan 2019 10:00:36 +0000
(11:00 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 79aa852355f8d2c14deab33a7ce6b491c2eaf176..aadc59539def831efaff5eacc9fce133a2a0b368 100644
(file)
--- 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})