From 50279b35227a0089f15657fcbfafa32b72c166cb Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Wed, 16 Jun 2010 20:43:30 +0200 Subject: [PATCH] Bail out on too hard compiler option -frepo --- NEWS.txt | 2 +- ccache.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.txt b/NEWS.txt index 90f23eced..a578653f0 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -124,7 +124,7 @@ Bug fixes previously contributed equally to the hash sum. - Bail out on too hard compiler options `--coverage`, `-fprofile-arcs`, - `-fprofile-generate`, `-fprofile-use`, `-ftest-coverage` and + `-fprofile-generate`, `-fprofile-use`, `-frepo`, `-ftest-coverage` and `-save-temps`. Also bail out on `@file` style options. - Errors when using multiple `-arch` compiler options are now noted as diff --git a/ccache.c b/ccache.c index 310d3e232..0638687fd 100644 --- a/ccache.c +++ b/ccache.c @@ -1368,6 +1368,7 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args, strcmp(argv[i], "-fprofile-arcs") == 0 || strcmp(argv[i], "-fprofile-generate") == 0 || strcmp(argv[i], "-fprofile-use") == 0 || + strcmp(argv[i], "-frepo") == 0 || strcmp(argv[i], "-ftest-coverage") == 0 || strcmp(argv[i], "-save-temps") == 0) { cc_log("Compiler option %s is unsupported", argv[i]); -- 2.47.3