aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/make-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-02 18:20:20 +0000
commitbc82645e958948a6aefd3147a0d7f712de9eaf6b (patch)
tree4855b70f785c1e6bf04856e97824988120503b05 /chapter05/make-inst.xml
parent55b50e3f6653cef278bad7e45fe5a378966953a7 (diff)
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>