]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on too hard compiler option “-gtoggle”
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 3 Apr 2019 19:39:03 +0000 (21:39 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 3 Apr 2019 19:39:03 +0000 (21:39 +0200)
doc/NEWS.adoc
src/compopt.c

index 493fe4ab582b46714ae69dbc5fbea5294ea52435..ce2971cd4517f2a3642d6fd90c25a8692c827d2c 100644 (file)
@@ -57,6 +57,8 @@ Changes
   before “ARG”. This fixes a bug where compiler feature detection of said flags
   would not work correctly with ccache.
 
+* Bail out on too hard compiler option `-gtoggle`.
+
 
 ccache 3.6
 ----------
index dbf32f0cdfc2a76b8d5a5df61fcd9482992c9a9d..2ead25a060fd58214fe71131d1298cc138065cd3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2018 Joel Rosdahl
+// Copyright (C) 2010-2019 Joel Rosdahl
 //
 // This program is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by the Free
@@ -68,6 +68,7 @@ static const struct compopt compopts[] = {
        {"-fplugin=libcc1plugin", TOO_HARD}, // interaction with GDB
        {"-frepo",          TOO_HARD},
        {"-fworking-directory", AFFECTS_CPP},
+       {"-gtoggle",        TOO_HARD},
        {"-idirafter",      AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
        {"-iframework",     AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
        {"-imacros",        AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},