This PR fixes an issue where debug paths were inconsistent for generated files residing in the build tree. #34414
Currently, the debug prefix map is restricted to ${DISTSRC}/src=.. This configuration fails to correctly map generated files that exist outside of the src directory (e.g., Cap’n Proto definitions), resulting in inconsistent file paths during debugging.
Changes:
- Updated
HOST_CFLAGSincontrib/guix/libexec/build.shto map the entire${DISTSRC}to.instead of restricting it to${DISTSRC}/src.
This ensures all source files, including generated ones, have correct relative paths in the debug information.