mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
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:
parent
d912bc2c75
commit
7948e10336
@ -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] -->
|
||||
|
@ -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>
|
||||
|
@ -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 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user