Add -Wno-format-security to build flags
This commit is contained in:
parent
539ec5b7a7
commit
7c40addf34
3 changed files with 9 additions and 0 deletions
|
|
@ -1085,6 +1085,9 @@ endif
|
||||||
# Rack code is not tested for this flag, unset it
|
# Rack code is not tested for this flag, unset it
|
||||||
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
|
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)
|
ifeq ($(WASM),true)
|
||||||
BUILD_CXX_FLAGS += -fexceptions
|
BUILD_CXX_FLAGS += -fexceptions
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,9 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal
|
||||||
# Rack code is not tested for this flag, unset it
|
# Rack code is not tested for this flag, unset it
|
||||||
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
|
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
|
# Rack files to build
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -250,6 +250,9 @@ endif
|
||||||
# Rack code is not tested for this flag, unset it
|
# Rack code is not tested for this flag, unset it
|
||||||
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
|
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
|
# FIXME lots of warnings from VCV side
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue