From 5af36c155aabff81e49d7050afec8e8c60f413e0 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 4 Jun 2016 17:41:36 +0200 Subject: [PATCH] Bail out on compiler option -fstack-usage It creates a .su file which ccache currently doesn't handle. --- NEWS.txt | 3 +++ compopt.c | 1 + 2 files changed, 4 insertions(+) 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}, -- 2.47.2