From: Luboš Luňák Date: Sun, 12 Dec 2021 20:15:21 +0000 (+0100) Subject: fix: MSVC's -link option is too hard (#972) X-Git-Tag: v4.6~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cae200f4a22ca0daa28a745f63463ef0940be97;p=thirdparty%2Fccache.git fix: MSVC's -link option is too hard (#972) --- diff --git a/src/compopt.cpp b/src/compopt.cpp index 309128874..732b5a4d4 100644 --- a/src/compopt.cpp +++ b/src/compopt.cpp @@ -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},