Modified the configure script in the libfame instructions using a sed so that the -fstrict-aliasing flag is properly passed along to the Makefiles

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6123 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2006-05-23 23:57:03 +00:00
parent d912bc2c75
commit 7948e10336
3 changed files with 21 additions and 2 deletions

View File

@ -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] -->

View File

@ -41,6 +41,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>

View File

@ -78,6 +78,7 @@
the following commands:</para>
<screen><userinput>patch -Np1 -i ../libfame-&libfame-version;-gcc34-1.patch &amp;&amp;
sed -i 's/$CC --version/$CC -dumpversion/' configure &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
@ -91,6 +92,13 @@ make</userinput></screen>
<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