diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2018-12-13 00:05:54 +0000 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2018-12-13 00:05:54 +0000 |
commit | 8dbae309bba5448ab0a720ab47d29953609fef4a (patch) | |
tree | 4e3d86ffcb78885ac98c320481b9ae3b7696c755 /chapter06/libffi.xml | |
parent | 2e653fe5a692e40d9256030b75533614f44c5b43 (diff) |
Add a note to libffi about portability.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/libffi.xml')
-rw-r--r-- | chapter06/libffi.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/libffi.xml b/chapter06/libffi.xml index 1ebee758d..24b8879ef 100644 --- a/chapter06/libffi.xml +++ b/chapter06/libffi.xml @@ -42,6 +42,14 @@ <sect2 role="installation"> <title>Installation of Libffi</title> + <note> + <para>Similar to GMP, libffi builds with optimizations specific + to the proccesor in use. If building for another system, export + CFLAGS and CXXFLAGS to specify a generic build for your architecture. + If this is not done, all applications that link to libffi will trigger + Illegal Operation Errors.</para> + </note> + <para>Modify the Makefile to install headers into the standard <filename class="directory">/usr/include</filename> directory instead of <filename class="directory">/usr/lib/libffi-3.2.1/include</filename>.</para> |