]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on --save-temps, an alias for -save-temps
authorMichael Marineau <michael.marineau@coreos.com>
Thu, 9 Jul 2015 20:42:23 +0000 (13:42 -0700)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 16 Aug 2015 11:46:14 +0000 (13:46 +0200)
NEWS.txt
compopt.c

index 193c52b6527b6ba4c264734788e29297a642e5ea..47ba7839af6e4d094b4fe6ca7637dbd99c0788a5 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -20,6 +20,8 @@ Bug fixes
 
 - Let exit handler terminate properly.
 
+- Bail out on compiler option `--save-temps` in addition to `-save-temps`.
+
 - Only log "Disabling direct mode" once when failing to read potential include
   files.
 
index f774fc16ffbbfb58cb48909607b1e1f605dea6e8..e5b3e0a3914cf8726bde94c0169f007db92beba1 100644 (file)
--- a/compopt.c
+++ b/compopt.c
@@ -33,6 +33,7 @@ struct compopt {
 
 static const struct compopt compopts[] = {
        {"--param",         TAKES_ARG},
+       {"--save-temps",    TOO_HARD},
        {"--serialize-diagnostics", TAKES_ARG | TAKES_PATH},
        {"-A",              TAKES_ARG},
        {"-D",              AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG},