On 11/6/19 10:21 AM, Egeyar Bagcioglu wrote: > Hello, > > I would like to propose the following patches which introduce a compile > option --record-gcc-command-line. When passed to gcc, it saves the command > line option into the produced object file. The option makes it trivial to > trace back how a file was compiled and by which version of the gcc. It helps > with debugging, reproducing bugs and repeating the build process. > So the first question I think we need to answer is do we want this feature. Similar features have been proposed in the past and rejected as undesirable.
I don't have particularly strong opinions here. Jeff