]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Add debug log when finding -frecord-gcc-switches
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 17 Dec 2023 21:00:04 +0000 (22:00 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 17 Dec 2023 21:09:21 +0000 (22:09 +0100)
src/argprocessing.cpp

index 216cdc3e55768d01b9a2f2e6cc8613f6312066a1..82b136465ef39f6c436f8766043a92e64bc57e9a 100644 (file)
@@ -1009,6 +1009,8 @@ process_option_arg(const Context& ctx,
 
   if (arg == "-frecord-gcc-switches") {
     state.hash_full_command_line = true;
+    LOG_RAW(
+      "Found -frecord-gcc-switches, hashing original command line unmodified");
   }
 
   // MSVC -u is something else than GCC -u, handle it specially.