Do not allow _GLIBCXX_ASSERTIONS to be enabled, for now

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-17 23:36:23 +00:00
parent d6823af74d
commit e9dc1c87b8
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 12 additions and 0 deletions

3
deps/Makefile vendored
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

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

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

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