Changeset 16994e7


Ignore:
Timestamp:
May 31, 2013, 6:32:15 AM (6 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
7718031
Parents:
97f4cdc
Message:

Remove coreutils primelist hack as it is not needed for 8.21.

Location:
BOOK/temp-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/coreutils.xml

    r97f4cdc r16994e7  
    5858    </variablelist>
    5959
    60 <!--- Hack for coreutils to build for target executables which can't be ran with the host. -->
    61     <para os="h1">Coreutils does not build make-prime-list properly and the build host may not be able to execute the target binary. Build it using the host compiler so it can be ran for the generation of data required for the build.</para>
    62 
    63 <screen os="h2"><userinput>cp -v Makefile{,.orig}
    64 sed '/src_make_prime_list/d' Makefile.orig > Makefile
    65 depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&amp;|;s|\.o$||'`;\
    66     gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src  \
    67     -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \
    68     src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \
    69     src/make-prime-list.c &amp;&amp;
    70 mv -f $depbase.Tpo $depbase.Po
    71 gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 \
    72     -Wl,--as-needed  -o src/make-prime-list src/make-prime-list.o</userinput></screen>
    73 
    74     <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para>
    75 
    76 <screen os="h4"><userinput>cp -v Makefile{,.bak}
    77 sed -e '/hostname.1/d' Makefile.bak > Makefile</userinput></screen>
    78 <!-- End hack -->
    79 
    8060   <para os="bf">Compile the package:</para>
    8161
  • BOOK/temp-system/multilib/coreutils.xml

    r97f4cdc r16994e7  
    5151    xpointer="xpointer(//*[@os='be1'])"/>
    5252
    53 <!--- Hack for coreutils to build for target executables which can't be ran with the host. -->
    54 
    55     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    56     href="../common/coreutils.xml"
    57     xpointer="xpointer(//*[@os='h1'])"/>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    60     href="../common/coreutils.xml"
    61     xpointer="xpointer(//*[@os='h2'])"/>
    62 
    63     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    64     href="../common/coreutils.xml"
    65     xpointer="xpointer(//*[@os='h3'])"/>
    66 
    67     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    68     href="../common/coreutils.xml"
    69     xpointer="xpointer(//*[@os='h4'])"/>
    70 
    71 <!-- end hack -->
    72 
    7353    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    7454    href="../common/coreutils.xml"
Note: See TracChangeset for help on using the changeset viewer.