]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix comparison with the “cu” language
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 2 Aug 2019 18:37:57 +0000 (20:37 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 24 Mar 2020 19:53:51 +0000 (20:53 +0100)
This should have been done in c4fffda0.

Related to PR #381.

(cherry picked from commit 0dec5c2df3e3ebc1fbbf33f74c992bef6264f37a)

src/ccache.c

index be7527c47b4f7567f44100f8a2f9351df79cfcd3..32366eaf20454e6a18bf36f7233710f4420289b5 100644 (file)
@@ -2173,7 +2173,7 @@ calculate_object_hash(struct args *args, struct args *preprocessor_args,
                hash_delimiter(hash, "/dev/null dependency file");
        }
 
-       if (!found_ccbin && str_eq(actual_language, "cuda")) {
+       if (!found_ccbin && str_eq(actual_language, "cu")) {
                hash_nvcc_host_compiler(hash, NULL, NULL);
        }