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
|
@ -119,9 +119,11 @@ RACK_FILES += $(filter-out $(IGNORED_FILES),$(wildcard Rack/src/*.cpp))
|
|||
RACK_FILES += $(filter-out $(IGNORED_FILES), $(wildcard Rack/src/*/*.cpp))
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# FIXME lots of warnings from VCV side
|
||||
# lots of warnings from VCV side
|
||||
|
||||
BASE_FLAGS += -Wno-unused-but-set-variable
|
||||
BASE_FLAGS += -Wno-unused-parameter
|
||||
BASE_FLAGS += -Wno-unused-result
|
||||
BASE_FLAGS += -Wno-unused-variable
|
||||
|
||||
# --------------------------------------------------------------
|
||||
|
|
|
@ -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