Changeset ed49003 for chapter06


Ignore:
Timestamp:
08/30/2004 01:16:16 PM (20 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
6.0
Children:
0c9300f
Parents:
3d17ed6
Message:
  • Correct the fix for the sfdisk problem.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4081 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/util-linux.xml

    r3d17ed6 red49003  
    4747
    4848<para>GCC-&gcc-version; miscompiles <command>sfdisk</command> if the
    49 default optimisation level is used.  The following command fixes this
    50 issue by changing the optimisation level from O2 to O1.</para>
    51 
    52 <screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -O1%' fdisk/Makefile</userinput></screen>
     49default optimisation level is used.  The following command prevents the
     50problematic optimisation pass from being used.</para>
     51
     52<screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile</userinput></screen>
    5353
    5454<para>Prepare Util-linux for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.