summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index b0c6ac0bc2..6b59a888d4 100755
--- a/configure
+++ b/configure
@@ -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
}