From fbfc0caf87e876afcfd21babe1ccd159a3b2dc21 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 2 Aug 2019 20:37:57 +0200 Subject: [PATCH] =?utf8?q?Fix=20comparison=20with=20the=20=E2=80=9Ccu?= =?utf8?q?=E2=80=9D=20language?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This should have been done in c4fffda0. Related to PR #381. (cherry picked from commit 0dec5c2df3e3ebc1fbbf33f74c992bef6264f37a) --- src/ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ccache.c b/src/ccache.c index be7527c47..32366eaf2 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); } -- 2.47.2