Module Name: src Committed By: christos Date: Sat Nov 14 21:24:03 UTC 2020
Modified Files: src/external/gpl3/gcc/dist/gcc: file-prefix-map.c Log Message: PR/55802: Andreas Gustafsson: Unbreak reproducible builds. For reproducible builds to work we need to have a consistent command line (because the command line gets recorded in dwarf). So we can't do: -ffile-prefix-map=/joe/random/src=/usr/src because then /joe/random/src gets recorded. We do instead: -ffile-prefix-map=\$NETBSDSRCDIR=/usr/src The patch restores the environment variable parsing that got lost in the last 2 gcc upgrades. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/file-prefix-map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.