There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages common-prefix-map https://github.com/void-linux/void-packages/pull/40120 environment: set -ffile-prefix-map We're setting -fdebug-prefix-map to strip directory prefixes from debug info, which will help ccache and reproducibility. However, -fdebug-prefix-map doesn't help with those macros like __FILE__ and __BASE_FILE__, which needs another flags: -fmacro-prefix-map. Replaces -fdebug-prefix-map with -ffile-prefix-map which is an alias for both `-fdebug-prefix-map` and `-fmacro-prefix-map`. (This flag is available since GCC 8 and Clang 10) #### Testing the changes - I tested the changes in this PR: **YES**|**briefly**|**NO** A patch file from https://github.com/void-linux/void-packages/pull/40120.patch is attached