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>
This commit is contained in:
parent
8f3b2f9f02
commit
6d1ea28aa3
3
configure
vendored
3
configure
vendored
@ -376,6 +376,9 @@ linkerSupportsFlag()
|
|||||||
safe_flag=`shellEscape "$flag"`
|
safe_flag=`shellEscape "$flag"`
|
||||||
lflags=$lflags,$safe_flag
|
lflags=$lflags,$safe_flag
|
||||||
done
|
done
|
||||||
|
if [ $CFG_USE_GOLD_LINKER = yes ]; then
|
||||||
|
lflags="-fuse-ld=gold $lflags"
|
||||||
|
fi
|
||||||
compilerSupportsFlag $compiler $lflags
|
compilerSupportsFlag $compiler $lflags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user