From: David Givone Date: Sun, 2 Sep 2012 22:49:12 +0000 (-0700) Subject: Fix issue to handle the -arch compiler option with arg X-Git-Tag: v3.2~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91bc2911fa5b6cf170a3c376b09ad04888d983c1;p=thirdparty%2Fccache.git Fix issue to handle the -arch compiler option with arg ccache was logging a warning on Mac since the -arch option always has a argument. --- diff --git a/compopt.c b/compopt.c index 908302e0a..ebdcc39e0 100644 --- a/compopt.c +++ b/compopt.c @@ -52,6 +52,7 @@ static const struct compopt compopts[] = { {"-Xclang", TAKES_ARG}, {"-Xlinker", TAKES_ARG}, {"-Xpreprocessor", TOO_HARD_DIRECT | TAKES_ARG}, + {"-arch", TAKES_ARG}, {"-aux-info", TAKES_ARG}, {"-b", TAKES_ARG}, {"-frepo", TOO_HARD},