Index: meson/part/compiler_args/meson.build
===================================================================
--- meson/part/compiler_args/meson.build	(revision da139823a6e0523217c1ab89cf8936eb8fd62ea2)
+++ meson/part/compiler_args/meson.build	(revision 2fbb42fc7cb049341ed2bb0ef644df1429f5fa15)
@@ -69,5 +69,6 @@
 	'-ffunction-sections',
 	'-fno-common',
-	'-fdebug-prefix-map=' + meson.source_root() + '=.',
+	'-fdebug-prefix-map=' + meson.source_root() + '/=',
+	'-fdebug-prefix-map=../../=',
 ]
 
@@ -86,5 +87,5 @@
 
 if CONFIG_LINE_DEBUG
-	extra_common_flags += [ '-gdwarf-4', '-g3' ]
+	extra_common_flags += [ '-gdwarf-5', '-g3' ]
 endif
 
