aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-08-11 20:56:26 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-08-11 20:56:26 +0000
commitf5e821c9ec8417651988c3ce6020708a8cccae9c (patch)
tree903ae56605aebda1c87ba5758a2a8bb286883117 /chapter05
parent5c3f304a8fcc46d0c5ddc25fff3a3f9336ae9d94 (diff)
Update to procps-ng-3.3.11.
Update to man-pages-4.02. Update to ncurses-6.0. Update to glibc-2.22. Update to linux-4.1.5. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/glibc.xml31
-rw-r--r--chapter05/ncurses.xml5
2 files changed, 0 insertions, 36 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 9916b4fb2..ecbefa16a 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -43,42 +43,11 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
-<!-- The enable-obsolete-rpc should handle this just fine.
- <para>In some cases, particularly LFS 7.1, the rpc headers were not
- installed properly. Test to see if they are installed in the host system
- and install if they are not:</para>
-
-<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
- su -c 'mkdir -pv /usr/include/rpc'
- su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
-fi</userinput></screen>
--->
- <para>Fix a regression in the package that affects 32-bit architectures:</para>
-
-<screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \
- -e '/SSE2/s/^1://' \
- -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
<screen><userinput remap="pre">mkdir -v ../glibc-build
cd ../glibc-build</userinput></screen>
-<!--
- <para>Because Glibc no longer supports i386, its developers say to use the
- compiler flag <parameter>-march=i486</parameter> when building it for x86
- machines. There are several ways to accomplish that, but testing shows that
- the flag is best placed inside the build variable <quote>CFLAGS</quote>.
- Instead of overriding completely what Glibc's internal build system uses
- for CFLAGS, append the new flag to the existing contents of CFLAGS by
- making use of the special file <filename>configparms</filename>. The
- -mtune=native flag is also necessary to reset a reasonable value for -mtune
- that is changed when setting -march.</para>
-
-<screen><userinput remap="configure">case `uname -m` in
- i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
-esac</userinput></screen>
--->
<para>Next, prepare Glibc for compilation:</para>
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml
index 336172b59..a18a9c819 100644
--- a/chapter05/ncurses.xml
+++ b/chapter05/ncurses.xml
@@ -43,11 +43,6 @@
<sect2 role="installation">
<title>Installation of Ncurses</title>
- <para>First, apply a patch to prevent a build failure
- when building with GCC 5:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>
-
<para>Prepare Ncurses for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools \