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:
e06e537
)
build: use -Wno-format-truncation instead of -Wno-error=format-truncation
author
Felix Fietkau
<nbd@nbd.name>
Tue, 9 May 2017 10:42:37 +0000
(12:42 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 9 May 2017 10:43:45 +0000
(12:43 +0200)
Fixes build error with older gcc
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 3799bc7c509fdf37fb8e882177bbdc37e0f049cf..81928a622e8b63cb91d7c3f7cfc31f53b00e166c 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 -Wno-
error=
format-truncation)
+ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -Wno-format-truncation)
SET(iptc_libs ip4tc)