summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorXavi Del Campo <xavi.dcr@tutanota.com>2020-02-01 07:20:36 +0100
committerXavi Del Campo <xavi.dcr@tutanota.com>2020-02-01 07:20:36 +0100
commita8fb8794571be967dd8a0ed9ea8fee8cf6f33fb9 (patch)
treef497cd52301035437453f45d45049d82d2a988b9 /misc
parent3ccdeed57a420839a2d96bc30d07de9812332a89 (diff)
Enabled debugging symbols
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/genscripts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/genscripts.sh b/misc/genscripts.sh
index 537c847..755bca4 100755
--- a/misc/genscripts.sh
+++ b/misc/genscripts.sh
@@ -75,8 +75,8 @@ SECTIONS
" > playstation.x
echo "#!/bin/sh
-mipsel-unknown-elf-gcc -D__PSXSDK__ -fno-strict-overflow -fsigned-char -msoft-float -mno-gpopt -fno-builtin -G0 -I$1/include -T $1/mipsel-unknown-elf/lib/ldscripts/playstation.x \$*"> psx-gcc
+mipsel-unknown-elf-gcc -D__PSXSDK__ -fno-strict-overflow -fsigned-char -msoft-float -mno-gpopt -fno-builtin -g -I$1/include -T $1/mipsel-unknown-elf/lib/ldscripts/playstation.x \$*"> psx-gcc
chmod +x psx-gcc
echo "#!/bin/sh
-mipsel-unknown-elf-g++ -D__PSXSDK__ -fno-strict-overflow -fsigned-char -msoft-float -mno-gpopt -fno-builtin -G0 -I$1/include -T $1/mipsel-unknown-elf/lib/ldscripts/playstation.x -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-use-cxa-atexit \$*" > psx-g++
+mipsel-unknown-elf-g++ -D__PSXSDK__ -fno-strict-overflow -fsigned-char -msoft-float -mno-gpopt -fno-builtin -g -I$1/include -T $1/mipsel-unknown-elf/lib/ldscripts/playstation.x -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-use-cxa-atexit \$*" > psx-g++
chmod +x psx-g++