e2fsprogs: eliminate warnings, fix strncat bug

Ref #4344
This commit is contained in:
Stefan Kalkowski
2021-12-13 15:26:02 +01:00
committed by Norman Feske
parent 2c569953d0
commit f5193874c8
3 changed files with 17 additions and 2 deletions

View File

@@ -4,7 +4,9 @@ INC_DIR += $(call select_from_ports,e2fsprogs-lib)/include/e2fsprogs
LIBS := libc e2fsprogs_host_tools
CC_OPT += -Wno-unused-variable -Wno-unused-function -Wno-maybe-uninitialized
CC_OPT += -Wno-unused-variable -Wno-unused-function -Wno-maybe-uninitialized \
-Wno-format-overflow -Wno-format-truncation -Wno-unused-but-set-variable \
-Wno-address-of-packed-member -Wno-sizeof-pointer-memaccess
CC_DEF += -DLOCALEDIR=\"/share/locale\"
CC_DEF += -DLIBDIR=\"/lib\"