aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b48fbf5..7938318 100644
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,8 @@ INCLUDES += -Ilib/include/ \
${PLAT_INCLUDES}
ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
- -mgeneral-regs-only -D__ASSEMBLY__ ${INCLUDES}
+ -mgeneral-regs-only -D__ASSEMBLY__ ${INCLUDES} \
+ -DDEBUG=${DEBUG}
CFLAGS := -nostdinc -pedantic -ffreestanding -Wall \
-Werror -mgeneral-regs-only -std=c99 -c -Os \
-DDEBUG=${DEBUG} ${INCLUDES} ${CFLAGS}