Use DEBUG_PREFIX_MAP flag to enable -fdebug-prefix-map
Use DEBUG_PREFIX_MAP flag to enable -fdebug-prefix-map
yt-store implies -DDEBUG_PREFIX_MAP
([arc::pullid] c7b48f93-e455260a-5388b36d-de20e0c7)
@@ -1364,6 +1364,7 @@ class GnuCompiler(Compiler):
self.debug_info_flags = ['-g']
if self.target.is_linux:
self.debug_info_flags.append('-ggnu-pubnames')
+ if is_positive('DEBUG_PREFIX_MAP'):
self.c_foptions.append('-fdebug-prefix-map=${ARCADIA_ROOT}/=')
self.cross_suffix = '' if is_positive('FORCE_NO_PIC') else '.pic'
