mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
e4b9338243
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2416 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
30 lines
892 B
XML
30 lines
892 B
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Patch</title>
|
|
|
|
<para>Prepare Patch to be compiled:</para>
|
|
|
|
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
|
|
LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
|
|
|
|
<para>The meaning of the configure option is:</para>
|
|
|
|
<itemizedlist>
|
|
<listitem><para><userinput>CPPFLAGS=-D_GNU_SOURCE</userinput>: This flag
|
|
fixes installation problems of this package on PPC and m68k platforms (that
|
|
we know of). It doesn't hurt compilation on other platforms, such as x86,
|
|
so we do it by default.</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
<para>And finish off installing the package:</para>
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|