Enable debug info
This commit is contained in:
parent
89b059cace
commit
d9acf265ff
|
@ -48,7 +48,7 @@ CXX = mipsel-unknown-elf-g++
|
|||
# CFLAGS and CXXFLAGS - do not change if you do not know what you are doing!!!
|
||||
INCLUDEDIR = $(SRCROOT)/libpsx/include/
|
||||
AFLAGS = -I $(INCLUDEDIR) -G0 -msoft-float
|
||||
CFLAGS = -D__PSXSDK__ -fsigned-char -fno-strict-overflow -I$(INCLUDEDIR) -G0 -fno-builtin -mno-gpopt -nostdlib -msoft-float -Wall -Werror
|
||||
CFLAGS = -D__PSXSDK__ -fsigned-char -fno-strict-overflow -I$(INCLUDEDIR) -fno-builtin -mno-gpopt -nostdlib -msoft-float -Wall -Werror
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-use-cxa-atexit
|
||||
AR = mipsel-unknown-elf-ar
|
||||
RANLIB = mipsel-unknown-elf-ranlib
|
||||
|
@ -58,8 +58,8 @@ CPP = mipsel-unknown-elf-gcc
|
|||
OBJCOPY = mipsel-unknown-elf-objcopy
|
||||
|
||||
# Uncomment the lines below if you want to have a debug build
|
||||
CFLAGS += -g -DPSXSDK_DEBUG
|
||||
CXXFLAGS += -g -DPSXSDK_DEBUG
|
||||
CFLAGS += -g3 -DPSXSDK_DEBUG
|
||||
CXXFLAGS += -g3 -DPSXSDK_DEBUG
|
||||
|
||||
# HOST_* variables specify the programs for compiling code on the host computer
|
||||
|
||||
|
|
Loading…
Reference in New Issue