diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro
index 0e113543d78e15790a57c8b85359441710de6598..fd27643ecbbbafa58a8f140dce31eb8b2941a8fc 100644
--- a/src/buildtools/configure_host.pro
+++ b/src/buildtools/configure_host.pro
@@ -11,6 +11,9 @@ GN_OS = $$gnOS()
 clang: GN_CLANG = true
 else: GN_CLANG = false
 
+use_gold_linker: GN_USE_GOLD=true
+else: GN_USE_GOLD=false
+
 GN_V8_HOST_CPU = $$GN_HOST_CPU
 contains(GN_TARGET_CPU, "arm")|contains(GN_TARGET_CPU, "mips")|contains(GN_TARGET_CPU, "x86") {
     # The v8 snapshot need a host that matches bitwidth, so we build makesnapshot to 32-bit variants of host.
@@ -33,6 +36,8 @@ GN_CONTENTS = \
 "  toolchain_args = { " \
 "    current_os = \"$$GN_OS\" " \
 "    current_cpu = \"$$GN_HOST_CPU\" " \
+"    is_clang = $$GN_CLANG " \
+"    use_gold = $$GN_USE_GOLD " \
 "  } " \
 "}" \
 "gcc_toolchain(\"v8_snapshot\") {" \
@@ -45,6 +50,8 @@ GN_CONTENTS = \
 "    current_os = \"$$GN_OS\" " \
 "    current_cpu = \"$$GN_V8_HOST_CPU\" " \
 "    v8_current_cpu = \"$$GN_TARGET_CPU\" " \
+"    is_clang = $$GN_CLANG " \
+"    use_gold = $$GN_USE_GOLD " \
 "  } " \
 " } "
 
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro
index 54841bf5102b1e49c75bc7b0bf2b23060037cca0..6ec914dd5565f694ad06e74a11455aa45cc1d724 100644
--- a/src/buildtools/configure_target.pro
+++ b/src/buildtools/configure_target.pro
@@ -7,6 +7,9 @@ GN_OS = $$gnOS()
 clang: GN_CLANG = true
 else: GN_CLANG = false
 
+use_gold_linker: GN_USE_GOLD=true
+else: GN_USE_GOLD=false
+
 GN_CONTENTS = \
 "gcc_toolchain(\"target\") {" \
 "  cc = \"$$which($$QMAKE_CC)\" " \
@@ -18,6 +21,7 @@ GN_CONTENTS = \
 "    current_os = \"$$GN_OS\" " \
 "    current_cpu = \"$$GN_CPU\" " \
 "    is_clang = $$GN_CLANG " \
+"    use_gold = $$GN_USE_GOLD " \
 "  } " \
 "}"