mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
59d810eaca
commit
66625b108d
@@ -1403,7 +1403,8 @@
|
||||
files automatically itself.</para></listitem>
|
||||
<listitem><para><emphasis><filename>ldflags:</filename></emphasis>
|
||||
Ensures that the binaries were linked with the
|
||||
<filename>LDFLAGS</filename> options provided by the build system.
|
||||
<link linkend='var-LDFLAGS'><filename>LDFLAGS</filename></link>
|
||||
options provided by the build system.
|
||||
If this test fails, check that the <filename>LDFLAGS</filename> variable
|
||||
is being passed to the linker command.</para></listitem>
|
||||
<listitem><para><emphasis><filename>libdir:</filename></emphasis>
|
||||
|
||||
@@ -299,7 +299,7 @@
|
||||
</literallayout>
|
||||
This indicates that binaries produced when building the
|
||||
recipe have not been linked with the
|
||||
<filename>LDFLAGS</filename>
|
||||
<link linkend='var-LDFLAGS'><filename>LDFLAGS</filename></link>
|
||||
options provided by the build system.
|
||||
Check to be sure that the <filename>LDFLAGS</filename> variable
|
||||
is being passed to the linker command.
|
||||
|
||||
@@ -4159,6 +4159,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-LDFLAGS'><glossterm>LDFLAGS</glossterm>
|
||||
<glossdef>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Default initialization for <filename>LDFLAGS</filename>
|
||||
varies depending on what is being built:
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
<filename>TARGET_LDFLAGS</filename> when building
|
||||
for the target
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
<filename>BUILD_LDFLAGS</filename> when building
|
||||
for the build host (i.e.
|
||||
<filename>-native</filename>)
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
<filename>BUILDSDK_LDFLAGS</filename> when building
|
||||
for an SDK (i.e. <filename>-nativesdk</filename>)
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-LEAD_SONAME'><glossterm>LEAD_SONAME</glossterm>
|
||||
<glossdef>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user