aboutsummaryrefslogtreecommitdiff
path: root/src/config/Config.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/Config.lb')
-rw-r--r--src/config/Config.lb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/Config.lb b/src/config/Config.lb
index 3c703c6203..2043ef02c4 100644
--- a/src/config/Config.lb
+++ b/src/config/Config.lb
@@ -10,6 +10,10 @@ makedefine GCC_INC_DIR := $(shell LC_ALL=C $(CC) -print-search-dirs | sed -ne "s
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
+if ASSEMBLER_DEBUG
+makedefine DEBUG_CFLAGS := -g -dA -fverbose-asm
+end
+
makedefine HOSTCFLAGS:= -Os -Wall
makerule ldscript.ld