mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Add a configuration option to libffi to ensure proper
architecture selection. Include an explanation and how to select alternative options. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
e6035d688f
commit
b8b65b7be7
@ -44,7 +44,19 @@
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2018-07-03</para>
|
||||
<para>2018-07-07</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Add a configuration option to libffi to
|
||||
ensure proper architecture selection. Include an explanation
|
||||
and how to select alternative options. Fixes
|
||||
<ulink url="&lfs-ticket-root;4303">#4303</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2018-07-06</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Make symbolic links in inital part of
|
||||
|
@ -55,7 +55,26 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \
|
||||
|
||||
<para>Prepare libffi for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr --disable-static --with-gcc-arch=native</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure option:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-gcc-arch=native</parameter></term>
|
||||
<listitem>
|
||||
<para>Ensure gcc optimizes for the current system. If this
|
||||
is not specified, the system is guessed and the code generated
|
||||
may not be correct for some systems. If the generated code
|
||||
will be copied from the native system to a less capable
|
||||
system, use the less capable system as a parameter. For details
|
||||
about alternative system types, see <ulink
|
||||
url='https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/x86-Options.html'>
|
||||
the x86 options in the gcc manual</ulink>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
<!ENTITY version "SVN-20180706">
|
||||
<!ENTITY version "SVN-20180707">
|
||||
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
||||
Change to x.y for release but not -rc releases -->
|
||||
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
||||
|
||||
<!ENTITY versiond "20180706-systemd">
|
||||
<!ENTITY versiond "20180707-systemd">
|
||||
<!ENTITY short-versiond "systemd">
|
||||
<!ENTITY generic-versiond "systemd">
|
||||
|
||||
<!ENTITY releasedate "July 6, 2018">
|
||||
<!ENTITY releasedate "July 7, 2018">
|
||||
|
||||
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "8.3">
|
||||
|
Loading…
Reference in New Issue
Block a user