diff options
Diffstat (limited to 'chapter05/patch-inst.xml')
-rw-r--r-- | chapter05/patch-inst.xml | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml index ff99185a0..1b560b3ea 100644 --- a/chapter05/patch-inst.xml +++ b/chapter05/patch-inst.xml @@ -3,27 +3,12 @@ <sect2> <title>Installation of Patch</title> -<para>Prepare Patch to be compiled:</para> +<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE CFLAGS="-O2 -pipe" \ + ./configure --prefix=/stage1 +make LDFLAGS="-s" +make check +make install</userinput></screen></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> |