Browse Source

Add -Wno-format-security to build flags

tags/22.09
falkTX 3 years ago
parent
commit
7c40addf34
3 changed files with 9 additions and 0 deletions
  1. +3
    -0
      plugins/Makefile
  2. +3
    -0
      src/Makefile
  3. +3
    -0
      src/Makefile.cardinal.mk

+ 3
- 0
plugins/Makefile 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


+ 3
- 0
src/Makefile 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



+ 3
- 0
src/Makefile.cardinal.mk 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



Loading…
Cancel
Save