summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-05-22 14:08:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:32:14 +0100
commit66625b108d893e3ee605622cb5d243baf56afbae (patch)
tree7bc074c9d76be8d82d020ae7fab18f0dc23d8e04 /documentation/ref-manual/ref-variables.xml
parent59d810eacae56c126e819a40e017d2819513dc72 (diff)
downloadpoky-66625b108d893e3ee605622cb5d243baf56afbae.tar.gz
ref-manual: Added LDFLAGS variable and supporting links.
(From yocto-docs rev: 58d583c9167feee65d7d22b343ea250cb8807261) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml31
1 files changed, 31 insertions, 0 deletions
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"
4159 </glossdef> 4159 </glossdef>
4160 </glossentry> 4160 </glossentry>
4161 4161
4162 <glossentry id='var-LDFLAGS'><glossterm>LDFLAGS</glossterm>
4163 <glossdef>
4164 <para>
4165 Specifies the flags to pass to the linker.
4166 This variable is exported to an environment
4167 variable and thus made visible to the software being
4168 built during the compilation step.
4169 </para>
4170
4171 <para>
4172 Default initialization for <filename>LDFLAGS</filename>
4173 varies depending on what is being built:
4174 <itemizedlist>
4175 <listitem><para>
4176 <filename>TARGET_LDFLAGS</filename> when building
4177 for the target
4178 </para></listitem>
4179 <listitem><para>
4180 <filename>BUILD_LDFLAGS</filename> when building
4181 for the build host (i.e.
4182 <filename>-native</filename>)
4183 </para></listitem>
4184 <listitem><para>
4185 <filename>BUILDSDK_LDFLAGS</filename> when building
4186 for an SDK (i.e. <filename>-nativesdk</filename>)
4187 </para></listitem>
4188 </itemizedlist>
4189 </para>
4190 </glossdef>
4191 </glossentry>
4192
4162 <glossentry id='var-LEAD_SONAME'><glossterm>LEAD_SONAME</glossterm> 4193 <glossentry id='var-LEAD_SONAME'><glossterm>LEAD_SONAME</glossterm>
4163 <glossdef> 4194 <glossdef>
4164 <para> 4195 <para>