From: Luboš Luňák Date: Sat, 11 May 2019 14:54:00 +0000 (+0200) Subject: clang's -ftime-trace is too hard (#424) X-Git-Tag: v3.7.2~16 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2bfca6f093c5e40b89f6b100c51704228f05e13;p=thirdparty%2Fccache.git clang's -ftime-trace is too hard (#424) It produces extra .json file with timing information about the compilation. --- diff --git a/src/compopt.c b/src/compopt.c index 2106df3da..8940cfcd8 100644 --- a/src/compopt.c +++ b/src/compopt.c @@ -69,6 +69,7 @@ static const struct compopt compopts[] = { {"-fno-working-directory", AFFECTS_CPP}, {"-fplugin=libcc1plugin", TOO_HARD}, // interaction with GDB {"-frepo", TOO_HARD}, + {"-ftime-trace", TOO_HARD}, // clang {"-fworking-directory", AFFECTS_CPP}, {"-gtoggle", TOO_HARD}, {"-idirafter", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},