aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/sed-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/sed-inst.xml')
-rw-r--r--chapter05/sed-inst.xml16
1 files changed, 4 insertions, 12 deletions
diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml
index f0e2dc7a5..b06d9d495 100644
--- a/chapter05/sed-inst.xml
+++ b/chapter05/sed-inst.xml
@@ -3,18 +3,10 @@
<sect2>
<title>Installation of Sed</title>
-<para>Prepare Sed to be compiled:</para>
-
-<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
-
-<para>Continue with installing 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>