Changeset da3e727 for BOOK/temp-system/common
- Timestamp:
- Nov 5, 2012, 3:35:16 PM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 7ae2706
- Parents:
- 090ff24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/coreutils.xml
r090ff24 rda3e727 45 45 --enable-install-program=hostname --cache-file=config.cache</userinput></screen> 46 46 47 <!--- Hack for coreutils to build for target executables which can't be ran with the host. --> 48 <para os="h1">Coreutils does not build make-prime-list properly and the host cannot execute it. We build it using the host compiler so it can be executed for the generation of data required for the build.</para> 49 50 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile 51 depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; 52 gcc -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o src/make-prime-list.c 53 mv -f $depbase.Tpo $depbase.Po 54 gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 -Wl,--as-needed -o src/make-prime-list src/make-prime-list.o</userinput></screen> 55 56 <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para> 57 58 <screen os="h4"><userinput>sed -i '/hostname.1/d' -i Makefile</userinput></screen> 59 <!-- End hack --> 60 47 61 <para os="bf">Compile the package:</para> 48 62
Note:
See TracChangeset
for help on using the changeset viewer.