Ignore:
Timestamp:
May 31, 2013, 6:32:15 AM (11 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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.