From: Joel Rosdahl Date: Fri, 2 Aug 2019 18:37:57 +0000 (+0200) Subject: Fix comparison with the “cu” language X-Git-Tag: v4.0~857 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dec5c2df3e3ebc1fbbf33f74c992bef6264f37a;p=thirdparty%2Fccache.git Fix comparison with the “cu” language This should have been done in c4fffda0. Related to PR #381. --- diff --git a/src/ccache.c b/src/ccache.c index ac3abb31a..6df8d45c6 100644 --- a/src/ccache.c +++ b/src/ccache.c @@ -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); }