Index: boot/Makefile.build
===================================================================
--- boot/Makefile.build	(revision 37e8c4a1c218e8d69819bd4f761fa694e0884dad)
+++ boot/Makefile.build	(revision dd162f6c0efea490687e025a11170cead0616973)
@@ -46,5 +46,6 @@
 COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
 	-ffreestanding -fno-builtin -nostdlib -nostdinc \
-	-fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common
+	-fexec-charset=UTF-8 -finput-charset=UTF-8 -fno-common \
+	-fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
 
 GCC_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
