From 847ee6e266ae8b011a0f1c1a6287694ca15f436a Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 2 Jun 2024 15:16:32 -0400 Subject: [PATCH] Meta: Do not launch linker commands with ccache --- Meta/gn/build/toolchain/BUILD.gn | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Meta/gn/build/toolchain/BUILD.gn b/Meta/gn/build/toolchain/BUILD.gn index aad40d8621c..b3a8077b753 100644 --- a/Meta/gn/build/toolchain/BUILD.gn +++ b/Meta/gn/build/toolchain/BUILD.gn @@ -65,9 +65,6 @@ template("unix_toolchain") { } tool("alink") { - if (enable_ccache) { - command_launcher = "ccache" - } if (current_os == "ios" || current_os == "mac") { command = "libtool -D -static -no_warning_for_no_symbols {{arflags}} -o {{output}} {{inputs}}" not_needed([ "ar" ]) @@ -93,9 +90,6 @@ template("unix_toolchain") { lib_dir_switch = "-L" tool("solink") { - if (enable_ccache) { - command_launcher = "ccache" - } outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}" if (current_os == "ios" || current_os == "mac") { command = "$ld -shared {{ldflags}} -o $outfile {{inputs}} {{libs}} {{frameworks}} -Wl,-install_name,@rpath/{{target_output_name}}{{output_extension}}" @@ -116,9 +110,6 @@ template("unix_toolchain") { } tool("solink_module") { - if (enable_ccache) { - command_launcher = "ccache" - } outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}" if (current_os == "ios" || current_os == "mac") { command = "$ld -shared {{ldflags}} -Wl,-flat_namespace -Wl,-undefined,suppress -o $outfile {{inputs}} {{libs}} {{frameworks}} -Wl,-install_name,@rpath/{{target_output_name}}{{output_extension}}"