]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Bail out on compiler option -fstack-usage
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 4 Jun 2016 15:41:36 +0000 (17:41 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 4 Jun 2016 15:41:36 +0000 (17:41 +0200)
It creates a .su file which ccache currently doesn't handle.

NEWS.txt
compopt.c

index 18c7c540c05b11c05523d14a1adf356ee4910a86..9877744f5497192c2e947ddc012a6c4ee06d9769 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -10,6 +10,9 @@ Bug fixes
 
 - Fixed build problem on QNX, which lacks ``SA_RESTART''.
 
+- Bail out on compiler option `-fstack-usage` since it creates a `.su` file
+  which ccache currently doesn't handle.
+
 
 ccache 3.2.5
 ------------
index 87166df4ec2b1f2964dc0bfab6313ca0ad0307ee..1b8dc7055467af0be27ded2b5a34e269abc19d9c 100644 (file)
--- a/compopt.c
+++ b/compopt.c
@@ -60,6 +60,7 @@ static const struct compopt compopts[] = {
        {"-fno-working-directory", AFFECTS_CPP},
        {"-fplugin=libcc1plugin", TOO_HARD}, /* interaction with GDB */
        {"-frepo",          TOO_HARD},
+       {"-fstack-usage",   TOO_HARD},
        {"-fworking-directory", AFFECTS_CPP},
        {"-idirafter",      AFFECTS_CPP | TAKES_ARG | TAKES_PATH},
        {"-iframework",     AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},