diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 5f4a814f9c..d87126c4a1 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -1403,7 +1403,8 @@
files automatically itself.
ldflags:
Ensures that the binaries were linked with the
- LDFLAGS options provided by the build system.
+ LDFLAGS
+ options provided by the build system.
If this test fails, check that the LDFLAGS variable
is being passed to the linker command.libdir:
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml
index 8571192e8d..78badc2d6b 100644
--- a/documentation/ref-manual/ref-qa-checks.xml
+++ b/documentation/ref-manual/ref-qa-checks.xml
@@ -299,7 +299,7 @@
This indicates that binaries produced when building the
recipe have not been linked with the
- LDFLAGS
+ LDFLAGS
options provided by the build system.
Check to be sure that the LDFLAGS variable
is being passed to the linker command.
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 9a027375fa..24c0faa1ef 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4159,6 +4159,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
+ LDFLAGS
+
+
+ Specifies the flags to pass to the linker.
+ This variable is exported to an environment
+ variable and thus made visible to the software being
+ built during the compilation step.
+
+
+
+ Default initialization for LDFLAGS
+ varies depending on what is being built:
+
+
+ TARGET_LDFLAGS when building
+ for the target
+
+
+ BUILD_LDFLAGS when building
+ for the build host (i.e.
+ -native)
+
+
+ BUILDSDK_LDFLAGS when building
+ for an SDK (i.e. -nativesdk)
+
+
+
+
+
+
LEAD_SONAME