Makefile: Use -O3 -g3 for optimisation and debug symbols
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
3
Makefile
3
Makefile
@@ -51,7 +51,8 @@ EXTRA_OUTPUT_FILES :=
|
||||
LIBRARY_DIRS := $(DEVKITPRO)/libctru $(DEVKITPRO)/portlibs/armv6k $(DEVKITPRO)/portlibs/3ds
|
||||
LIBRARIES := sidplay mpg123 vorbisidec opusfile opus ogg ctru m
|
||||
|
||||
BUILD_FLAGS := -Wall -Wextra -I$(DEVKITPRO)/portlibs/armv6k/include/opus -I$(DEVKITPRO)/portlibs/3ds/include/opus
|
||||
BUILD_FLAGS := -Wall -Wextra -I$(DEVKITPRO)/portlibs/armv6k/include/opus -I$(DEVKITPRO)/portlibs/3ds/include/opus -O3 -g3 -ffunction-sections -fdata-sections
|
||||
# -O0 -g3 -fstack-protector-strong -fsanitize=undefined -fsanitize-trap
|
||||
RUN_FLAGS :=
|
||||
|
||||
VERSION_PARTS := $(subst ., ,$(shell git describe --tags --abbrev=0))
|
||||
|
||||
Reference in New Issue
Block a user