From 7910dd0a548cdd9e7c5716d4f6704b3185fa34fb Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Thu, 17 Jan 2019 15:39:32 +0100 Subject: Add llvm linker detection to configure https://gcc.gnu.org/ml/gcc-patches/2018-10/msg01240.html This is currently only used for webengine, where link time really matters. New configure options: * force 'lld' '-linker lld' or' --linker=lld' * force 'gold' '-linker gold' or '--linker=gold' * force 'bfd' '-linker bfd' or '--linker=bfd' Note before by default gold was always forced (if supported) now default linker is system default one. [ChangeLog][Tools][configure & build system] Added --linker=[bfg,lld,gold] configure flag. Change-Id: Idaa13510da70243c6176b96db846d629cd65c7af Reviewed-by: Kai Koehne --- config_help.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config_help.txt') diff --git a/config_help.txt b/config_help.txt index 223adf61d7..8eea64e03a 100644 --- a/config_help.txt +++ b/config_help.txt @@ -167,7 +167,8 @@ Build options: -pch ................. Use precompiled headers [auto] -ltcg ................ Use Link Time Code Generation [no] - -use-gold-linker ..... Use the GNU gold linker [auto] + -linker [bfd,gold,lld] Force use of the GNU ld, GNU gold or LLVM/LLD linker + instead of default one (GCC only) -incredibuild-xge .... Use the IncrediBuild XGE [no] (Windows only) -ccache .............. Use the ccache compiler cache [no] (Unix only) -make-tool .... Use to build qmake [nmake] (Windows only) -- cgit v1.2.3