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