]> 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>
Fri, 2 Aug 2019 18:40:14 +0000 (20:40 +0200)
This should have been done in c4fffda0.

Related to PR #381.

src/ccache.c

index ac3abb31ac39879990fc68f26dd9834d44c47eac..6df8d45c69e5cc479b9c783b35303d0cc6c3a873 100644 (file)
@@ -1963,7 +1963,7 @@ calculate_result_name(struct args *args, struct hash *hash, int direct_mode)
                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);
        }