diff options
author | Michal Klocek <michal.klocek@qt.io> | 2019-01-17 15:39:32 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-02-06 22:11:22 +0000 |
commit | 7910dd0a548cdd9e7c5716d4f6704b3185fa34fb (patch) | |
tree | ebed8bfe3f4a187e3dbb8d42dc47ba01ff05d921 /config_help.txt | |
parent | 5133e22ae200eb3c5169340a16b419c9fce747cb (diff) | |
download | qtbase-7910dd0a548cdd9e7c5716d4f6704b3185fa34fb.tar.gz |
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 <kai.koehne@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r-- | config_help.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 <tool> .... Use <tool> to build qmake [nmake] (Windows only) |