diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-08-30 12:29:33 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-08-30 12:29:33 +0000 |
commit | f42b2ffcae07ec948da3d74b09f17892d12b0695 (patch) | |
tree | b4da94a99c338bc9098beecff1b2c247b4a32005 /chapter06/util-linux.xml | |
parent | a62617aa9565fae591e0d632657019243413db9a (diff) |
* Fixed sfdisk miscompilation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r-- | chapter06/util-linux.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 37ca200d9..ab0c8f40c 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -43,6 +43,12 @@ mkdir -p /var/lib/hwclock</userinput></screen> <sect2 role="installation"> <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> + +<screen><userinput>sed -i -e 's%^include ../MCONFIG%&\n\nCFLAGS:=$(CFLAGS) -O1%' fdisk/Makefile</userinput></screen> + <para>Prepare Util-linux for compilation:</para> <screen><userinput>./configure</userinput></screen> |