summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2019-08-02 20:37:57 +0200
committerJoel Rosdahl <joel@rosdahl.net>2020-03-24 20:53:51 +0100
commitfbfc0caf87e876afcfd21babe1ccd159a3b2dc21 (patch)
tree42199dc9bb07389c8161147c16a0e17c091f824f
parentb3b514858e6363993c96330d12b1d431cc39c897 (diff)
downloadccache-fbfc0caf87e876afcfd21babe1ccd159a3b2dc21.tar.gz
Fix comparison with the “cu” language
This should have been done in c4fffda0. Related to PR #381. (cherry picked from commit 0dec5c2df3e3ebc1fbbf33f74c992bef6264f37a)
-rw-r--r--src/ccache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccache.c b/src/ccache.c
index be7527c4..32366eaf 100644
--- a/src/ccache.c
+++ b/src/ccache.c
@@ -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);
}