summarylogtreecommitdiffstats
path: root/01-flags.patch
blob: f938b1761ee0d20d72b444243d8411e69c274633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/Makefile b/Makefile
index 7487f35..e6ebd9f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 PACKAGES = zlib sqlite3 protobuf
 
-export CFLAGS = \
+export CFLAGS += \
 	-ffunction-sections -fdata-sections
-export CXXFLAGS = $(CFLAGS) \
+export CXXFLAGS += $(CFLAGS) \
 	-x c++ --std=gnu++2a \
 	-Wno-deprecated-enum-enum-conversion \
 	-Wno-deprecated-enum-float-conversion
-export LDFLAGS = -pthread
+export LDFLAGS += -pthread
 
 export COPTFLAGS = -Os
 export LDOPTFLAGS = -Os