]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on too hard compiler option -fplugin=libcc1plugin
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Mar 2015 16:13:36 +0000 (17:13 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Mar 2015 16:13:36 +0000 (17:13 +0100)
Based on patch from Jan Kratochvil.

NEWS.txt
compopt.c

index 2bc1d52dd04ec69d8e45551e8d9fdf9386a5d65e..b0c76d797efbfe0f8824db0b8acc40e9654c409b 100644 (file)
--- 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
 ------------
index a1c83fd6f82efb3853992dffef341dda68dc724b..71b968545a4476e8a8f9b752ca0aa3312171e6d9 100644 (file)
--- 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},