Browse Source

Do not allow _GLIBCXX_ASSERTIONS to be enabled, for now

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.03
falkTX 3 years ago
parent
commit
e9dc1c87b8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 12 additions and 0 deletions
  1. +3
    -0
      deps/Makefile
  2. +3
    -0
      plugins/Makefile
  3. +3
    -0
      src/Makefile
  4. +3
    -0
      src/Makefile.cardinal.mk

+ 3
- 0
deps/Makefile View File

@@ -57,6 +57,9 @@ endif
BUILD_C_FLAGS += -fno-finite-math-only
BUILD_CXX_FLAGS += -fno-finite-math-only

# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS

# --------------------------------------------------------------
# override VCV arch.mk stuff so we can build more architectures



+ 3
- 0
plugins/Makefile View File

@@ -795,6 +795,9 @@ BUILD_C_FLAGS += -std=gnu11
BUILD_C_FLAGS += -fno-finite-math-only
BUILD_CXX_FLAGS += -fno-finite-math-only

# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS

# --------------------------------------------------------------
# lots of warnings from VCV side



+ 3
- 0
src/Makefile View File

@@ -101,6 +101,9 @@ BUILD_CXX_FLAGS += -fno-finite-math-only
# use our custom function to invert some colors
BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal

# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS

# --------------------------------------------------------------
# Rack files to build



+ 3
- 0
src/Makefile.cardinal.mk View File

@@ -173,6 +173,9 @@ BUILD_C_FLAGS += -std=gnu11
BUILD_C_FLAGS += -fno-finite-math-only
BUILD_CXX_FLAGS += -fno-finite-math-only

# Rack code is not tested for this flag, unset it
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS

# --------------------------------------------------------------
# FIXME lots of warnings from VCV side



Loading…
Cancel
Save