aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/grep-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/grep-inst.xml')
-rw-r--r--chapter05/grep-inst.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index 18fe41068..164b0f73f 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -3,10 +3,10 @@
<para>Install Grep by running the following commands:</para>
-<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-./configure --prefix=$LFS/static --disable-nls \
+<para><screen><userinput>LDFLAGS=-static CPPFLAGS=-Dre_max_failures=re_max_failures2 \
+&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static --disable-nls \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp &amp;&amp;
-make LDFLAGS=-static &amp;&amp;
+make &amp;&amp;
make install</userinput></screen></para>
</sect2>