aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/findutils-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/findutils-inst.xml')
-rw-r--r--chapter05/findutils-inst.xml14
1 files changed, 4 insertions, 10 deletions
diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml
index b17c9ea30..c7a0c8b79 100644
--- a/chapter05/findutils-inst.xml
+++ b/chapter05/findutils-inst.xml
@@ -29,15 +29,9 @@ This patch adds this macro to the source code.</para></listitem>
<para>Prepare Findutils to be compiled:</para>
-<para><screen><userinput>CPPFLAGS="-Dre_max_failures=re_max_failures2" \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
-
-<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>
+<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1
+make LDFLAGS="-s"
+make check
+make install</userinput></screen></para>
</sect2>