From d8a5edfb8c5bb0556d33d8eac512be41472585fb Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 20 Dec 2018 15:12:19 +0100 Subject: GCC: Make it possible to force the linker variant ...via cpp.linkerVariant. [ChangeLog] Added new cpp property linkerVariant to force use of gold, bfd or lld. Task-number: QBS-1421 Change-Id: I98f9d2581515ac8e9c984a2f8d70f4a7a3ab230b Reviewed-by: Orgad Shaneh Reviewed-by: Joerg Bornemann --- doc/reference/modules/cpp-module.qdoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc index 9cf7d6a0f..940e837ae 100644 --- a/doc/reference/modules/cpp-module.qdoc +++ b/doc/reference/modules/cpp-module.qdoc @@ -1207,6 +1207,20 @@ \defaultvalue \c "automatic" */ +/*! + \qmlproperty string cpp::linkerVariant + \since Qbs 1.13 + + \unixproperty + + Set this property to force the use of a specific \c ld implementation. A non-empty value + will result in the \c {-fuse-ld} option being emitted when linking with \c gcc or \c clang. + + The possible values are \c "bfd", \c "gold" and \c "lld". + + \nodefaultvalue +*/ + /*! \qmlproperty string cpp::nmName \since Qbs 1.2 -- cgit v1.2.3