summarylogtreecommitdiffstats
path: root/use-distro-cflags-cppflags.patch
blob: 41b042c4307d39c53f6276c9bd75874baae0ac58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/build/defaults.mak b/build/defaults.mak
index ad9703d..4f2aa03 100644
--- a/build/defaults.mak
+++ b/build/defaults.mak
@@ -11,8 +11,8 @@ SFLAGS += -DHWTEST_ALL_KEYS=$(HWTEST_ALL_KEYS)
 SFLAGS += -DVALGRIND=$(VALGRIND)
 
 # Language-specific flags
-CFLAGS := -std=c11
-CXXFLAGS := -std=c++17 -fno-exceptions -fno-rtti -fno-threadsafe-statics
+CFLAGS += -std=c11
+CXXFLAGS += -std=c++17 -fno-exceptions -fno-rtti -fno-threadsafe-statics
 
 # Flags - Optimizations
 ifeq ($(DEBUG),1)