[ccache] [PATCH] Bail out on --save-temps, an alias for -save-temps

Joel Rosdahl joel at rosdahl.net
Sun Aug 16 11:51:31 UTC 2015


Applied, thanks.

-- Joel

On 9 July 2015 at 22:42, Michael Marineau <michael.marineau at coreos.com>
wrote:

> ---
>  NEWS.txt  | 2 ++
>  compopt.c | 1 +
>  2 files changed, 3 insertions(+)
>
> diff --git a/NEWS.txt b/NEWS.txt
> index c1e121d..19b0ae2 100644
> --- a/NEWS.txt
> +++ b/NEWS.txt
> @@ -18,6 +18,8 @@ Bug fixes
>
>  - Avoid calling `exit()` inside an exit handler.
>
> +- Bail out on compiler option --save-temps in addition to -save-temps.
> +
>
>  ccache 3.2.2
>  ------------
> diff --git a/compopt.c b/compopt.c
> index 26e1591..0fc9161 100644
> --- 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},
> --
> 2.3.6
>
>
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>


More information about the ccache mailing list