From: Joel Rosdahl Date: Sun, 25 Apr 2010 15:27:01 +0000 (+0200) Subject: No need to hash -nostdinc and -nostdinc++ in preprocessor mode X-Git-Tag: v3.0pre1~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91bd8ee9010c3eebf00a47010ca8df15d9888b68;p=thirdparty%2Fccache.git No need to hash -nostdinc and -nostdinc++ in preprocessor mode --- diff --git a/ccache.c b/ccache.c index 1ce1513e4..3f89a99ea 100644 --- a/ccache.c +++ b/ccache.c @@ -811,7 +811,9 @@ static int find_hash(ARGS *args, enum findhash_call_mode mode) strcmp(args->argv[i], "-iwithprefix") == 0 || strcmp(args->argv[i], "-iwithprefixbefore") == 0 || strcmp(args->argv[i], "-idirafter") == 0 || - strcmp(args->argv[i], "-isystem") == 0) { + strcmp(args->argv[i], "-isystem") == 0 || + strcmp(args->argv[i], "-nostdinc") == 0 || + strcmp(args->argv[i], "-nostdinc++") == 0) { /* Skip from hash. */ i++; continue;