Make --dist imply -DDEBUG_PREFIX_MAP
Make --dist imply -DDEBUG_PREFIX_MAP
Remap build root paths too
([arc::pullid] 1124befa-4e5286b0-57840b32-37102277)
@@ -1366,6 +1366,7 @@ class GnuCompiler(Compiler):
self.debug_info_flags.append('-ggnu-pubnames')
if is_positive('DEBUG_PREFIX_MAP'):
self.c_foptions.append('-fdebug-prefix-map=${ARCADIA_ROOT}/=')
+ self.c_foptions.append('-fdebug-prefix-map=${ARCADIA_BUILD_ROOT}/=')
self.cross_suffix = '' if is_positive('FORCE_NO_PIC') else '.pic'
