Restore debugging optimization level to -O0, add more warning ignores
This commit is contained in:
parent
6b46a04030
commit
a39d004584
3
Makefile
3
Makefile
|
@ -201,7 +201,7 @@ ifeq ($(DEBUG),0)
|
||||||
OPT_FLAGS := -O2
|
OPT_FLAGS := -O2
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
OPT_FLAGS := -Og
|
OPT_FLAGS := -O0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Set our level of debug symbol info,
|
# Set our level of debug symbol info,
|
||||||
|
@ -633,6 +633,7 @@ ifeq ($(WINDOWS_AUTO_BUILDER),1)
|
||||||
else ifeq ($(COMPILER),gcc)
|
else ifeq ($(COMPILER),gcc)
|
||||||
CC := $(CROSS)gcc
|
CC := $(CROSS)gcc
|
||||||
CXX := $(CROSS)g++
|
CXX := $(CROSS)g++
|
||||||
|
EXTRA_CFLAGS += -Wno-unused-result -Wno-format-truncation
|
||||||
else ifeq ($(COMPILER),clang)
|
else ifeq ($(COMPILER),clang)
|
||||||
CC := clang
|
CC := clang
|
||||||
CXX := clang++
|
CXX := clang++
|
||||||
|
|
Loading…
Reference in New Issue