projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cb9cf
)
build: suppress format truncation warnings to avoid errors with gcc7
author
Felix Fietkau
<nbd@nbd.name>
Thu, 4 May 2017 13:49:53 +0000
(15:49 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 4 May 2017 13:49:58 +0000
(15:49 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index d54b6fa9fd5c16db4c04068ff98c55ed22417f21..ecdb94619626d957fbe3ec86d654581c9e0dd4d9 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,7
+1,7
@@
cmake_minimum_required(VERSION 2.6)
PROJECT(netifd C)
-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations)
+ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations
-Wno-format-truncation
)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")