]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on too hard clang option “-MJ”
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 14 Aug 2018 19:14:36 +0000 (21:14 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 14 Aug 2018 19:33:51 +0000 (21:33 +0200)
See discussion in pull request #277.

doc/NEWS.adoc
src/compopt.c

index 907c7e800467d908dd068c2afc9c268e817a09f4..bfa18ee788ed3037d00eb3baac4ef5894ffc22e6 100644 (file)
@@ -11,6 +11,8 @@ Bug fixes
 - Fixed a race condition when creating the initial config file in the cache
   directory.
 
+- Bail out on too hard clang option `-MJ`.
+
 
 ccache 3.4.2
 ------------
index aab9fe55249886029f928726a94b016cecd1299f..0df2bd0a86ac4f69308290b5c192bae916e82dd8 100644 (file)
@@ -46,6 +46,7 @@ static const struct compopt compopts[] = {
        {"-L",              TAKES_ARG},
        {"-M",              TOO_HARD},
        {"-MF",             TAKES_ARG},
+       {"-MJ",             TAKES_ARG | TOO_HARD},
        {"-MM",             TOO_HARD},
        {"-MQ",             TAKES_ARG},
        {"-MT",             TAKES_ARG},