summaryrefslogtreecommitdiff
blob: 5264989242734d8e0f74ea95b4c9e6035ba12e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/WDL/swell/Makefile b/WDL/swell/Makefile
index c0a52312..fb09826b 100644
--- a/WDL/swell/Makefile
+++ b/WDL/swell/Makefile
@@ -72,16 +72,9 @@ endif
 
 
 ifdef DEBUG
-CFLAGS += -O0 -g -D_DEBUG
+CFLAGS += -D_DEBUG
 else
-CFLAGS += -O2 -DNDEBUG
-  ifdef DEBUG_INFO
-    CFLAGS += -g
-  else
-    ifneq ($(COMPILER),CLANG)
-      CFLAGS += -s
-    endif
-  endif
+CFLAGS += -DNDEBUG
 endif
 
 LINKEXTRA =  -lpthread -ldl