summaryrefslogtreecommitdiff
path: root/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch
blob: d767f04d4b093bcddb43b6c730205cae372f48ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/Makefile	2017-05-25 12:45:51.000000000 +0300
+++ b/Makefile	2018-01-14 17:38:34.540167879 +0300
@@ -64,11 +64,11 @@
 #
 # -MMD to generate header dependencies.
 ifeq ($(OSTYPE), Darwin)
-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \
-		  -Wall -pipe -g -fwrapv -arch i386 -arch x86_64
+CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \
+		  -Wall -fwrapv -arch i386 -arch x86_64
 else
-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \
-		  -Wall -pipe -g -MMD -fwrapv
+CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \
+		  -Wall -MMD -fwrapv
 endif
 
 # ----------
@@ -80,9 +80,9 @@
 
 # Base LDFLAGS.
 ifeq ($(OSTYPE), Darwin)
-LDFLAGS := -shared -arch i386 -arch x86_64 
+LDFLAGS += -shared -arch i386 -arch x86_64 
 else
-LDFLAGS := -shared
+LDFLAGS += -shared
 endif
 
 # ----------