[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. 7ae2706131ee385af0463470e2e198e7940c3afe

git git at cross-lfs.org
Mon Nov 5 16:23:05 PST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  7ae2706131ee385af0463470e2e198e7940c3afe (commit)
      from  da3e72739249aa24c29222f06739e8960e0c3664 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7ae2706131ee385af0463470e2e198e7940c3afe
Author: William Harrington <kb0iic at gmail.com>
Date:   Mon Nov 5 18:23:01 2012 -0600

    Reformat coreutils build fix commands.

diff --git a/BOOK/temp-system/common/coreutils.xml b/BOOK/temp-system/common/coreutils.xml
index 81f9342..0067571 100644
--- a/BOOK/temp-system/common/coreutils.xml
+++ b/BOOK/temp-system/common/coreutils.xml
@@ -48,10 +48,15 @@ EOF</userinput></screen>
     <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>
 
 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile
-    depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;
-    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
-    mv -f $depbase.Tpo $depbase.Po
-    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>
+depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+    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 &&
+mv -f $depbase.Tpo $depbase.Po
+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>
 
     <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para>
 
diff --git a/BOOK/temp-system/multilib/coreutils.xml b/BOOK/temp-system/multilib/coreutils.xml
index 2daf21a..c82ee97 100644
--- a/BOOK/temp-system/multilib/coreutils.xml
+++ b/BOOK/temp-system/multilib/coreutils.xml
@@ -53,10 +53,15 @@
     xpointer="xpointer(//*[@os='h1'])"/>
 
 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile
-    depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;
-    gcc ${BUILD64} -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
-    mv -f $depbase.Tpo $depbase.Po
-    gcc ${BUILD64} -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>
+depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
+    gcc ${BUILD64} -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 &&
+mv -f $depbase.Tpo $depbase.Po
+gcc ${BUILD64} -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>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/coreutils.xml"

-----------------------------------------------------------------------

Summary of changes:
 BOOK/temp-system/common/coreutils.xml   |   13 +++++++++----
 BOOK/temp-system/multilib/coreutils.xml |   13 +++++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list