summaryrefslogtreecommitdiff
path: root/emulators/teo/files/patch-makefile.lnx
blob: 9afebed99ef199f7ed7b0dcc0ef50ca7dd05a7a7 (plain) (blame)
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
--- makefile.lnx.orig	2019-02-06 11:40:45 UTC
+++ makefile.lnx
@@ -15,7 +15,7 @@ UNIX_TOOLS = 1
 ifdef DEBUGMODE
 
 # -- debugging build --
-CFLAGS = -g -DDEBUG $(WFLAGS)
+CFLAGS += -g -DDEBUG $(WFLAGS)
 LFLAGS = -g
 DESCRIPTION = debugging
 
@@ -23,14 +23,14 @@ else
 ifdef PROFILEMODE
 
 # -- profiling build --
-CFLAGS = -pg $(WFLAGS) $(OFLAGS)
+CFLAGS += -pg $(WFLAGS) $(OFLAGS)
 LFLAGS = -pg
 DESCRIPTION = profiling
 
 else
 
 # -- optimised build --
-CFLAGS = $(WFLAGS) $(OFLAGS)
+CFLAGS += $(WFLAGS)
 LFLAGS = -s
 DESCRIPTION = optimized