gptfdisk: fix some warnings treated as errors
authorOskari Rauta <oskari.rauta@gmail.com>
Fri, 4 Mar 2022 08:11:01 +0000 (10:11 +0200)
committerRosen Penev <rosenp@gmail.com>
Fri, 4 Mar 2022 07:13:34 +0000 (23:13 -0800)
fixes error: format not a string literal and no format arguments [-Werror=format-security] during compile

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
utils/gptfdisk/Makefile

index 9a4ad6992b74f7d5342e5b91820e9ee7fa573abf..68badcc1451f51fe1e8705d48064fcf46a30bc08 100644 (file)
@@ -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