summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtnslc/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tnslc/build.sh b/tnslc/build.sh
index 95cca0e..6bee3fc 100755
--- a/tnslc/build.sh
+++ b/tnslc/build.sh
@@ -8,6 +8,6 @@ mkdir -p $ARTIFACT_DIR
filename=tnslc.tnsl
filename="${filename%.*}"
./ctc $filename.tnsl $ARTIFACT_DIR/$filename.asm
-nasm -f elf64 -o $ARTIFACT_DIR/$filename.o $ARTIFACT_DIR/$filename.asm
-gcc -s -o $BUILD_DIR/$filename $ARTIFACT_DIR/$filename.o
+nasm -g -f elf64 -o $ARTIFACT_DIR/$filename.o $ARTIFACT_DIR/$filename.asm
+gcc -ggdb -o $BUILD_DIR/$filename $ARTIFACT_DIR/$filename.o