summaryrefslogtreecommitdiff
path: root/debug.mk
diff options
context:
space:
mode:
Diffstat (limited to 'debug.mk')
-rw-r--r--debug.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.mk b/debug.mk
index b57cfc0..dc77a57 100644
--- a/debug.mk
+++ b/debug.mk
@@ -3,10 +3,12 @@
###################################################
# Set the optimization level
+RISCV_ASFLAGS += -O0
RISCV_CFLAGS += -O0
RISCV_CXXFLAGS += -O0
# Enable debug
+RISCV_ASFLAGS += -g
RISCV_CFLAGS += -g
RISCV_CXXFLAGS += -g