r6123 - in trunk/BOOK: . introduction/welcome multimedia/libdriv

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue May 23 16:57:06 PDT 2006


Author: randy
Date: 2006-05-23 17:57:03 -0600 (Tue, 23 May 2006)
New Revision: 6123

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/libfame.xml
Log:
Modified the configure script in the libfame instructions using a sed so that the -fstrict-aliasing flag is properly passed along to the Makefiles

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2006-05-23 18:09:00 UTC (rev 6122)
+++ trunk/BOOK/general.ent	2006-05-23 23:57:03 UTC (rev 6123)
@@ -1,8 +1,8 @@
-<!ENTITY day          "23">                   <!-- Always 2 digits -->
+<!ENTITY day          "24">                   <!-- Always 2 digits -->
 <!ENTITY month        "05">                   <!-- Always 2 digits -->
 <!ENTITY year         "2006">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "May &day;rd, &year;">
+<!ENTITY releasedate  "May &day;th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|stable|testing|unstable|development] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-05-23 18:09:00 UTC (rev 6122)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-05-23 23:57:03 UTC (rev 6123)
@@ -42,6 +42,17 @@
 -->
 
     <listitem>
+      <para>May 24th, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Modified the configure script in the libfame
+          instructions using a sed so that the -fstrict-aliasing flag is
+          properly passed along to the Makefiles.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>May 23rd, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/libfame.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/libfame.xml	2006-05-23 18:09:00 UTC (rev 6122)
+++ trunk/BOOK/multimedia/libdriv/libfame.xml	2006-05-23 23:57:03 UTC (rev 6123)
@@ -78,6 +78,7 @@
     the following commands:</para>
 
 <screen><userinput>patch -Np1 -i ../libfame-&libfame-version;-gcc34-1.patch &&
+sed -i 's/$CC --version/$CC -dumpversion/' configure &&
 ./configure --prefix=/usr &&
 make</userinput></screen>
 
@@ -91,6 +92,13 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -i 's/$CC --version/$CC -dumpversion/'
+    configure</command>: This command causes the <command>configure</command>
+    script to use a different command to find out the version of the compiler.
+    Without this command, the -fstrict-aliasing flag is not added to the
+    <envar>CFLAGS</envar> variable in the various
+    <filename>Makefile</filename>s.</para>
+
     <para><option>--enable-sse</option>: This option is off by default and
     should be set on if your machine has SSE capability. One way to find out if
     you have SSE is to issue <command>cat /proc/cpuinfo</command> and see if




More information about the blfs-book mailing list