This reverts ccache/ccache#371.
// Debugging is handled specially, so that we know if we can strip line
// number info.
- if (str_eq(argv[i], "-g0")) {
- generating_debuginfo = false;
- continue;
- }
-
if (str_startswith(argv[i], "-g")) {
generating_debuginfo = true;
args_add(stripped_args, argv[i]);
backdate "$BASEDIR3/header.h" "$BASEDIR3/test.c"
backdate "$BASEDIR4/header.h" "$BASEDIR4/test.c" "$BASEDIR4/header2.h"
- DEPFLAGS="-g1 -g0 -MD -MF test.d"
+ DEPFLAGS="-MD -MF test.d"
}
generate_reference_compiler_output() {