projects
/
oweals
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddc830
)
build: disable the format-truncation warning error to fix gcc 7 build errors
author
Felix Fietkau
<nbd@nbd.name>
Thu, 4 May 2017 14:13:34 +0000
(16:13 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Fri, 30 Jun 2017 15:25:24 +0000
(17:25 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e7a97db4f8d155b7c4e4d75ac667733264655457..14b6e0acaad63df19c6692ff8da163895d5c781a 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-1,7
+1,7
@@
cmake_minimum_required(VERSION 2.6)
PROJECT(fs-tools C)
-ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
+ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations
-Wno-error=format-truncation
)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")