]> 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>
Sun, 14 Jun 2020 08:55:29 +0000 (10:55 +0200)
src/compopt.cpp

index 7b8df8d68529efd39f8ddf8734c87e326ad2b1b6..bf6ff16b41efd5afea12b13eaf168aeea94f35b1 100644 (file)
@@ -50,6 +50,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