aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/util-linux.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-08-30 13:18:31 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-08-30 13:18:31 +0000
commit98b017eaa53e459c321f160991e23ddeb77d6044 (patch)
tree071a77ec44b4f779ec653034ae89e63656e02f86 /chapter06/util-linux.xml
parent4148d1a6d01f6e976c02c78e082789d2938b1300 (diff)
* Correct the fix for the sfdisk problem.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4082 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r--chapter06/util-linux.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index ab0c8f40c..a9ffdf088 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -44,10 +44,10 @@ mkdir -p /var/lib/hwclock</userinput></screen>
<title>Installation of Util-linux</title>
<para>GCC-&gcc-version; miscompiles <command>sfdisk</command> if the
-default optimisation level is used. The following command fixes this
-issue by changing the optimisation level from O2 to O1.</para>
+default optimisation level is used. The following command prevents the
+problematic optimisation pass from being used.</para>
-<screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -O1%' fdisk/Makefile</userinput></screen>
+<screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile</userinput></screen>
<para>Prepare Util-linux for compilation:</para>