]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: MSVC's -link option is too hard (#972)
authorLuboš Luňák <l.lunak@centrum.cz>
Sun, 12 Dec 2021 20:15:21 +0000 (21:15 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 20:15:21 +0000 (21:15 +0100)
src/compopt.cpp

index 309128874c1ec5c595011b4ecb454b3095214fbf..732b5a4d45c20d4d6d8e72d45cd2c423ec85ff85 100644 (file)
@@ -133,6 +133,7 @@ const CompOpt compopts[] = {
   {"-iwithprefixbefore",
    AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
   {"-ldir", AFFECTS_CPP | TAKES_ARG}, // nvcc
+  {"-link", TOO_HARD},                // msvc
   {"-nolibc", AFFECTS_COMP},
   {"-nostdinc", AFFECTS_CPP},
   {"-nostdinc++", AFFECTS_CPP},