From c43ae11e71abf607a1998800f8ced489ec5d1e88 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 9 May 2017 12:37:42 +0200 Subject: [PATCH] fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation Fixes build error with older gcc Signed-off-by: Felix Fietkau --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04d9470..826a852 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 "") -- 2.30.2