From 40a17324ce7c3700fec2b925f903286a7d9bbc0b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 22 May 2014 16:06:07 +0300 Subject: ref-manual: Added TARGET_CC_ARCH variable and supporting links. (From yocto-docs rev: d0887f66e3bc9d420d7ce626d5467bbc6d259b90) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-qa-checks.xml | 2 +- documentation/ref-manual/ref-variables.xml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) (limited to 'documentation') 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 -- cgit v1.2.3-54-g00ecf