summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCSDUMMI <csdummi.misquality@simplelogin.co>2025-05-10 18:42:55 +0200
committerCSDUMMI <csdummi.misquality@simplelogin.co>2025-05-10 18:42:55 +0200
commit2b3c39d18c4c751d36a0904f00efbf015fda7d4b (patch)
tree512be8896024ca4c4193e403f722b981e74a942e /Makefile
parent47406b5defae9d4ec6a94aeee9454514d835d42b (diff)
Fix buffer overflow error by only supplying st_size to fread once
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0a580f0..87cc77e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,9 @@
# SPDX-License-Identifier: GPL-3.0
wai: wai.c
- gcc -Wall -Wextra -o wai wai.c
+ gcc -ggdb -Wall -Wextra -o wai wai.c
# tests/factorial.wasm: tests/factorial.wat
.PHONY: tests
tests:
wat2wasm -o tests/factorial.wasm tests/factorial.wat
-