From: Andrew Tridgell Date: Mon, 17 Feb 2003 01:09:12 +0000 (+0100) Subject: update version number X-Git-Tag: v2.2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df18a2a8150d11bfbeda12e81aeb58c710e0e428;p=thirdparty%2Fccache.git update version number more unsupported options --- diff --git a/Makefile.in b/Makefile.in index 64abf8ab6..0b838a45d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/ccache.c b/ccache.c index 26d834a60..bef9d082b 100644 --- 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(); diff --git a/ccache.h b/ccache.h index 7cdca6648..29ea9b053 100644 --- a/ccache.h +++ b/ccache.h @@ -1,4 +1,4 @@ -#define CCACHE_VERSION "2.1.1" +#define CCACHE_VERSION "2.2" #include "config.h"