media-libs/lsp-plugins/files/lsp-plugins-1.2.2-constexpr-cflags.patch (view raw)
1--- a/make/tools.mk
2+++ b/make/tools.mk
3@@ -110,7 +110,7 @@ else
4 endif
5
6 # Define flags for (cross) build
7-CFLAGS ?= \
8+CFLAGS += \
9 $(CFLAGS_EXT) \
10 -fdata-sections \
11 -ffunction-sections \
12@@ -120,7 +120,7 @@ CFLAGS ?= \
13
14 CDEFS += -DLSP_INSTALL_PREFIX=\\\"$(PREFIX)\\\"
15
16-CXXFLAGS ?= \
17+CXXFLAGS += \
18 $(CXXFLAGS_EXT) \
19 -std=c++98 \
20 -fno-exceptions \