Browse Source

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 <oskari.rauta@gmail.com>
lilik-openwrt-22.03
Oskari Rauta 3 years ago
committed by Rosen Penev
parent
commit
5899a16f4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/gptfdisk/Makefile

+ 1
- 1
utils/gptfdisk/Makefile View File

@ -72,7 +72,7 @@ define Package/fixparts/description
Master Boot Record (MBR) partition tables Master Boot Record (MBR) partition tables
endef 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 TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
define Package/gdisk/install define Package/gdisk/install


Loading…
Cancel
Save