projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633a8d0
)
fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation
author
Felix Fietkau
<nbd@nbd.name>
Tue, 9 May 2017 10:37:42 +0000
(12:37 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 9 May 2017 10:38:09 +0000
(12:38 +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 04d9470e32ac7a4b44e5386a744a72bdd82f8572..826a8523ddfe3b387244a5c9e6d9abfb1728620f 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 -Wno-
error=
format-truncation)
+ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-format-truncation)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")