From: Joel Rosdahl Date: Sat, 4 Jun 2016 15:41:36 +0000 (+0200) Subject: Bail out on compiler option -fstack-usage X-Git-Tag: v3.2.6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af36c155aabff81e49d7050afec8e8c60f413e0;p=thirdparty%2Fccache.git Bail out on compiler option -fstack-usage It creates a .su file which ccache currently doesn't handle. --- diff --git a/NEWS.txt b/NEWS.txt index 18c7c540c..9877744f5 100644 --- 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 ------------ diff --git a/compopt.c b/compopt.c index 87166df4e..1b8dc7055 100644 --- 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},