Add -Wno-format-security to build flags

This commit is contained in:
falkTX 2022-09-04 11:14:41 +01:00
parent 539ec5b7a7
commit 7c40addf34
3 changed files with 9 additions and 0 deletions

View file

@ -1085,6 +1085,9 @@ endif
# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
# Ignore bad behaviour from Rack API
BUILD_CXX_FLAGS += -Wno-format-security
ifeq ($(WASM),true)
BUILD_CXX_FLAGS += -fexceptions
endif

View file

@ -120,6 +120,9 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal
# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
# Ignore bad behaviour from Rack API
BUILD_CXX_FLAGS += -Wno-format-security
# --------------------------------------------------------------
# Rack files to build

View file

@ -250,6 +250,9 @@ endif
# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
# Ignore bad behaviour from Rack API
BUILD_CXX_FLAGS += -Wno-format-security
# --------------------------------------------------------------
# FIXME lots of warnings from VCV side