diff --git a/Makefile.cfg b/Makefile.cfg index c9135a6..28a0cba 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -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