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