From: Joel Rosdahl Date: Sun, 8 Mar 2015 16:13:36 +0000 (+0100) Subject: Bail out on too hard compiler option -fplugin=libcc1plugin X-Git-Tag: v3.2.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8931b4c7ea6aa7e453279857ee1425631510d2;p=thirdparty%2Fccache.git Bail out on too hard compiler option -fplugin=libcc1plugin Based on patch from Jan Kratochvil. --- diff --git a/NEWS.txt b/NEWS.txt index 2bc1d52dd..b0c76d797 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -22,6 +22,9 @@ Bug fixes - Bail out on too hard compiler option `-fmodules`. +- Bail out on too hard compiler option `-fplugin=libcc1plugin` (interaction + with GDB). + ccache 3.2.1 ------------ diff --git a/compopt.c b/compopt.c index a1c83fd6f..71b968545 100644 --- a/compopt.c +++ b/compopt.c @@ -58,6 +58,7 @@ static const struct compopt compopts[] = { {"-b", TAKES_ARG}, {"-fmodules", TOO_HARD}, {"-fno-working-directory", AFFECTS_CPP}, + {"-fplugin=libcc1plugin", TOO_HARD}, /* interaction with GDB */ {"-frepo", TOO_HARD}, {"-ftest-coverage", TOO_HARD}, /* generates a .gcno file at the same time */ {"-fworking-directory", AFFECTS_CPP},