]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
clang's -ftime-trace is too hard (#424)
authorLuboš Luňák <l.lunak@centrum.cz>
Sat, 11 May 2019 14:54:00 +0000 (16:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 18 Jul 2019 20:05:49 +0000 (22:05 +0200)
It produces extra .json file with timing information about the compilation.

src/compopt.c

index 2106df3da1405280da6609662a039484acf877b6..8940cfcd826e16dda601a685dd76dfb217949aba 100644 (file)
@@ -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},