projects
/
project
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e751cde
)
build: disable the format-truncation warning error to fix gcc 7 build errors
author
Felix Fietkau
<nbd@nbd.name>
Thu, 4 May 2017 14:17:51 +0000
(16:17 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 4 May 2017 14:17:51 +0000
(16:17 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e2a88e7e1d22a2d5428a35531a36cd9d2e09cc34..3799bc7c509fdf37fb8e882177bbdc37e0f049cf 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,7
+1,7
@@
cmake_minimum_required(VERSION 2.6)
PROJECT(firewall3 C)
-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
+ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations
-Wno-error=format-truncation
)
SET(iptc_libs ip4tc)