From: Joel Rosdahl Date: Wed, 4 Oct 2023 16:13:52 +0000 (+0200) Subject: fix: Bail out on too hard options -fmodules-ts and -fmodule-header X-Git-Tag: v4.9~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59681699f891266bf7d7b2e53d7117e127bf02ea;p=thirdparty%2Fccache.git fix: Bail out on too hard options -fmodules-ts and -fmodule-header Fixes #1333. --- diff --git a/src/compopt.cpp b/src/compopt.cpp index 86a6cbb1e..f904261b4 100644 --- a/src/compopt.cpp +++ b/src/compopt.cpp @@ -110,6 +110,8 @@ const CompOpt compopts[] = { {"-emit-pth", AFFECTS_COMP}, // Clang {"-external:I", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH}, // msvc + {"-fmodule-header", TOO_HARD}, + {"-fmodules-ts", TOO_HARD}, {"-fno-working-directory", AFFECTS_CPP}, {"-fplugin=libcc1plugin", TOO_HARD}, // interaction with GDB {"-frepo", TOO_HARD},