]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on too hard compiler option -frepo
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 16 Jun 2010 18:43:30 +0000 (20:43 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 16 Jun 2010 18:43:30 +0000 (20:43 +0200)
NEWS.txt
ccache.c

index 90f23eced52c000510b0e2ca98dfd31fd1e1e0b4..a578653f0b6937b9bc90a5463bb49354d99a97f7 100644 (file)
--- 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
index 310d3e232ee09b9ad10dfdc0aa0317a1fd6fd4f0..0638687fdc73d304fffa422c474d3ea023ba09ad 100644 (file)
--- 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]);