From: Felix Fietkau Date: Tue, 9 May 2017 10:37:42 +0000 (+0200) Subject: fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ef2d4387ee99219f1ead6b4c4c19731d436de44b;p=oweals%2Ffstools.git fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation Fixes build error with older gcc Signed-off-by: Felix Fietkau --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 14b6e0a..56ffc01 100644 --- 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 "")