From 79698d1443cfad232413eba61a1e7339d087b238 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 18 Feb 2022 08:31:08 +0000 Subject: [PATCH] Also use -Wp,-U_GLIBCXX_ASSERTIONS --- deps/Makefile | 2 +- plugins/Makefile | 2 +- src/Makefile | 2 +- src/Makefile.cardinal.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/Makefile b/deps/Makefile index 5a83bfa..924ea9c 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -58,7 +58,7 @@ 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 +BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS # -------------------------------------------------------------- # override VCV arch.mk stuff so we can build more architectures diff --git a/plugins/Makefile b/plugins/Makefile index c409aee..0a8b220 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -796,7 +796,7 @@ 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 +BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS # -------------------------------------------------------------- # lots of warnings from VCV side diff --git a/src/Makefile b/src/Makefile index 7d6d561..e370fa5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -102,7 +102,7 @@ BUILD_CXX_FLAGS += -fno-finite-math-only BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal # Rack code is not tested for this flag, unset it -BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS +BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS # -------------------------------------------------------------- # Rack files to build diff --git a/src/Makefile.cardinal.mk b/src/Makefile.cardinal.mk index d75f636..b3b06d8 100644 --- a/src/Makefile.cardinal.mk +++ b/src/Makefile.cardinal.mk @@ -174,7 +174,7 @@ 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 +BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS # -------------------------------------------------------------- # FIXME lots of warnings from VCV side