aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/make-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/make-inst.xml')
-rw-r--r--chapter05/make-inst.xml28
1 files changed, 4 insertions, 24 deletions
diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml
index b6f24f70d..e946786fe 100644
--- a/chapter05/make-inst.xml
+++ b/chapter05/make-inst.xml
@@ -3,30 +3,10 @@
<sect2>
<title>Installation of Make</title>
-<para>Prepare Make to be compiled:</para>
-
-<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</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>During the make install phase you will see this warning:</para>
-
-<blockquote><screen>chgrp: changing group of `/mnt/lfs/static/bin/make': Operation not permitted
-/mnt/lfs/static/bin/make needs to be owned by group kmem and setgid;
-otherwise the `-l' option will probably not work. You may need special
-privileges to complete the installation of /mnt/lfs/static/bin/make.</screen></blockquote>
-
-<para>You can safely ignore this warning. The <userinput>make</userinput>
-program doesn't actually need to be owned by group kmem and setgid for the
-<emphasis>-l</emphasis> option to work. (This option tells
-<userinput>make</userinput> not to start any new jobs when a certain load
-on the system has been reached.)</para>
+<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1
+make LDFLAGS="-s"
+make check
+make install</userinput></screen></para>
</sect2>