diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml
index 78badc2d6b..e17fc2c216 100644
--- a/documentation/ref-manual/ref-qa-checks.xml
+++ b/documentation/ref-manual/ref-qa-checks.xml
@@ -305,7 +305,7 @@
is being passed to the linker command.
A common workaround for this situation is to pass in
LDFLAGS using
- TARGET_CC_ARCH
+ TARGET_CC_ARCH
within the recipe as follows:
TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 2d1cba7d46..1d491cc1fe 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7701,6 +7701,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
+ TARGET_CC_ARCH
+
+
+ Specifies architecture-specific C compiler flags for the
+ target system.
+ TARGET_CC_ARCH is initialized from
+ TUNE_CCARGS by default.
+
+ It is a common workaround to append
+ LDFLAGS
+ to TUNE_CC_ARCH in recipes
+ that build software for the target that would not
+ otherwise respect the exported
+ LDFLAGS variable.
+
+
+
+
+
TARGET_CFLAGS