]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Support NVCC’s “--Werror” option
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 14 Jun 2020 08:55:29 +0000 (10:55 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 21 Jul 2020 13:12:14 +0000 (15:12 +0200)
(cherry picked from commit 7bfae2087a5371b6de440aa7e94cc9e00e32a018)

src/compopt.c

index f59def96dd3802fc883d58eefa265459b9b99fc1..cbf9f40267849d2deb4715d8d9fb62e54ed88d95 100644 (file)
@@ -46,6 +46,7 @@ struct compopt {
 };
 
 static const struct compopt compopts[] = {
+       {"--Werror", TAKES_ARG}, // nvcc
        {"--analyze",       TOO_HARD}, // clang
        {"--compiler-bindir", AFFECTS_CPP | TAKES_ARG}, // nvcc
        {"--libdevice-directory", AFFECTS_CPP | TAKES_ARG}, // nvcc