blob: 0f5d094f1bd0c6a108c08c394934780b7099c10d (
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
31
32
|
diff --git a/WDL/swell/Makefile b/WDL/swell/Makefile
index 642930a1..7f613f14 100644
--- a/WDL/swell/Makefile
+++ b/WDL/swell/Makefile
@@ -17,7 +17,7 @@ PKG_CONFIG = pkg-config
COMPILER=GCC
-CFLAGS = -pipe -fvisibility=hidden -fno-math-errno -fPIC -DPIC -Wall -Wshadow -Wno-unused-function -Wno-multichar -Wtype-limits -Wno-unused-value
+CFLAGS += -fvisibility=hidden -fno-math-errno -fPIC -DPIC -Wall -Wshadow -Wno-unused-function -Wno-multichar -Wtype-limits -Wno-unused-value -Wno-error=array-bounds
CFLAGS += -DSWELL_MAKING_DYLIB
@@ -63,16 +63,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
|