From 5899a16f4ba70689055f7276e84aa96adce14373 Mon Sep 17 00:00:00 2001 From: Oskari Rauta Date: Fri, 4 Mar 2022 10:11:01 +0200 Subject: [PATCH] gptfdisk: fix some warnings treated as errors fixes error: format not a string literal and no format arguments [-Werror=format-security] during compile Signed-off-by: Oskari Rauta --- utils/gptfdisk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gptfdisk/Makefile b/utils/gptfdisk/Makefile index 9a4ad6992..68badcc14 100644 --- a/utils/gptfdisk/Makefile +++ b/utils/gptfdisk/Makefile @@ -72,7 +72,7 @@ define Package/fixparts/description Master Boot Record (MBR) partition tables endef -TARGET_CXXFLAGS += -std=c++11 -ffunction-sections -fdata-sections -fno-rtti -flto +TARGET_CXXFLAGS += -std=c++11 -ffunction-sections -fdata-sections -fno-rtti -flto -Wno-format-security TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed define Package/gdisk/install