]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
update version number
authorAndrew Tridgell <tridge@samba.org>
Mon, 17 Feb 2003 01:09:12 +0000 (02:09 +0100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 17 Feb 2003 01:09:12 +0000 (02:09 +0100)
more unsupported options

Makefile.in
ccache.c
ccache.h

index 64abf8ab64d9836d5956a401c84afd319ac196cf..0b838a45db5b2310cb70aef3298acd72e51448a9 100644 (file)
@@ -40,5 +40,8 @@ clean:
 test: test.sh
        ./test.sh
 
+check: test.sh
+       ./test.sh
+
 distclean: clean
        /bin/rm -f Makefile config.h config.sub config.log build-stamp config.status
index 26d834a609e83ce9f41bcb876e9ed0becb209ba0..bef9d082bf201022e0f235e24ed6a6223ed58d89 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -563,8 +563,11 @@ static void process_args(int argc, char **argv)
                        failed();
                }
 
-               /* check for bad options */
-               if (strcmp(argv[i], "-M") == 0) {
+               /* these are too hard */
+               if (strcmp(argv[i], "-fprofile-arcs")==0 ||
+                   strcmp(argv[i], "-fbranch-probabilities")==0 ||
+                   strcmp(argv[i], "-M") == 0 ||
+                   strcmp(argv[i], "-x") == 0) {
                        cc_log("argument %s is unsupported\n", argv[i]);
                        stats_update(STATS_UNSUPPORTED);
                        failed();
index 7cdca6648830120d5e7e7db134f2b9724234a3e2..29ea9b053da7e74fb02a9b0418e13c45c242428c 100644 (file)
--- a/ccache.h
+++ b/ccache.h
@@ -1,4 +1,4 @@
-#define CCACHE_VERSION "2.1.1"
+#define CCACHE_VERSION "2.2"
 
 #include "config.h"