diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-11-07 15:48:51 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-11-07 16:03:06 +0100 |
| commit | d9acf265ff96e0a1f8e882f55d25414ec0ce430b (patch) | |
| tree | 53424b7a57926937db3c1ec56dc53533d5ae9d66 | |
| parent | 89b059cace59a2c6dd8d4920b02cac75053a37db (diff) | |
Enable debug info
| -rw-r--r-- | Makefile.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.cfg b/Makefile.cfg index 114ad5e..c9135a6 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -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 |
