Update a few modules for compiler warning fixes
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
f5cd9c83a5
commit
a66e60c64d
9 changed files with 29 additions and 12 deletions
|
@ -199,7 +199,13 @@ EXTRA_LIBS += $(shell pkg-config --libs jansson libarchive samplerate speexdsp)
|
|||
endif
|
||||
|
||||
ifeq ($(WITH_LTO),true)
|
||||
LINK_FLAGS += -fno-strict-aliasing -flto -fwhole-program -Werror=odr -Werror=lto-type-mismatch
|
||||
LINK_FLAGS += -fno-strict-aliasing -flto -Werror=odr -Werror=lto-type-mismatch
|
||||
# false positive
|
||||
LINK_FLAGS += -Wno-alloc-size-larger-than
|
||||
ifneq ($(SYSDEPS),true)
|
||||
# triggered by jansson
|
||||
LINK_FLAGS += -Wno-stringop-overflow
|
||||
endif
|
||||
endif
|
||||
|
||||
# --------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue