Add debugging symbols to assembly files
This commit is contained in:
parent
59e38e90a3
commit
09910de8ee
|
@ -47,7 +47,7 @@ CC = mipsel-unknown-elf-gcc
|
|||
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
|
||||
AFLAGS = -I $(INCLUDEDIR) -msoft-float
|
||||
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
|
||||
|
@ -58,6 +58,7 @@ CPP = mipsel-unknown-elf-gcc
|
|||
OBJCOPY = mipsel-unknown-elf-objcopy
|
||||
|
||||
# Uncomment the lines below if you want to have a debug build
|
||||
AFLAGS += -g3
|
||||
CFLAGS += -g3 -DPSXSDK_DEBUG
|
||||
CXXFLAGS += -g3 -DPSXSDK_DEBUG
|
||||
|
||||
|
|
Loading…
Reference in New Issue