]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Add note about --compile being an NVCC option
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 30 Jun 2024 12:42:58 +0000 (14:42 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 30 Jun 2024 12:42:58 +0000 (14:42 +0200)
src/ccache/argprocessing.cpp

index a5e2e24e772e2da2d1bde670c55458bfad3ce9f1..3ac23323382e34af15d2b366c7013152ddbed20a 100644 (file)
@@ -591,7 +591,7 @@ process_option_arg(const Context& ctx,
   }
 
   // We must have -c.
-  if (arg == "-c" || arg == "--compile") {
+  if (arg == "-c" || arg == "--compile") { // --compile is NVCC
     state.found_c_opt = true;
     return Statistic::none;
   }