aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-13 20:20:36 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-13 20:20:36 +0000
commitb815cec9c87f8b45676c7476dab9af37a19791a3 (patch)
tree6a69ffa246c196d6d19690e359f4f4793a125e33 /chapter06
parentc03b8a07f72a930fa81f5bb1854a14d30735d54f (diff)
Updated to flex-2.5.37
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9937 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/flex.xml7
-rw-r--r--chapter06/grub.xml9
2 files changed, 9 insertions, 7 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 996308ba4..9de4a189c 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -41,10 +41,6 @@
<sect2 role="installation">
<title>Installation of Flex</title>
- <para>Apply a patch that fixes a bug in the C++ scanner generator, that causes scanner compilation to fail when using GCC-&gcc-version;:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&flex-gcc-patch;</userinput></screen>
-
<para>Prepare Flex for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>
@@ -57,6 +53,9 @@
<screen><userinput remap="test">make -k check</userinput></screen>
+ <para>There are two tests that fail due to incompatibilities
+ with the most recent version of bison.</para>
+
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index ea8f649da..34bababd6 100644
--- a/chapter06/grub.xml
+++ b/chapter06/grub.xml
@@ -49,10 +49,13 @@
<screen><userinput remap="configure">./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-grub-emu-usb \
- --disable-efiemu</userinput></screen>
+ --disable-efiemu \
+ --disable-werror</userinput></screen>
- <para>The --disable switches minimize what is built by disabling features
- and testing programs not really needed for LFS.</para>
+ <para>The --disable-werror option allows the build to complete with
+ warnings introduced by more recent flex versions. The other --disable
+ switches minimize what is built by disabling features and testing programs
+ not needed for LFS.</para>
<para>Compile the package:</para>