summaryrefslogtreecommitdiffstats
path: root/src/buildtools/configure_target.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtools/configure_target.pro')
-rw-r--r--src/buildtools/configure_target.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro
index 54841bf51..6ec914dd5 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 " \
" } " \
"}"