diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-04-22 12:37:15 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-04-23 19:16:46 +0000 |
commit | 6d1ea28aa3924aaa716bc9f1c7e467be00af87d4 (patch) | |
tree | 79b6f5779887020597467c57cc95a00ead3f836c /configure | |
parent | 8f3b2f9f02968328950170c1783968536176fd06 (diff) |
make linkerSupportsFlag() use gold linker if detected
subsequent tests should depend on the detected linker, obviously.
Change-Id: I09aa9f1f2ef789f0ae0829f9122211fc4e1ad518
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -376,6 +376,9 @@ linkerSupportsFlag() safe_flag=`shellEscape "$flag"` lflags=$lflags,$safe_flag done + if [ $CFG_USE_GOLD_LINKER = yes ]; then + lflags="-fuse-ld=gold $lflags" + fi compilerSupportsFlag $compiler $lflags } |