[Clfs-commits] commit: r4895 - in /branches/clfs-sysroot/BOOK/final-system/common: flex.xml iproute2.xml
svn at cross-lfs.org
svn at cross-lfs.org
Thu Mar 19 18:35:13 PDT 2009
Author: jciccone
Date: Fri Mar 20 01:35:13 2009
New Revision: 4895
Log:
Fix flex compilation issue.
fix iproute2 formatting.
Modified:
branches/clfs-sysroot/BOOK/final-system/common/flex.xml
branches/clfs-sysroot/BOOK/final-system/common/iproute2.xml
Modified: branches/clfs-sysroot/BOOK/final-system/common/flex.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/flex.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/flex.xml Fri Mar 20 01:35:13 2009
@@ -30,10 +30,19 @@
<screen os="b"><userinput>cp -v Makefile.in{,.orig}
sed "s/-I at includedir@//g" Makefile.in.orig > Makefile.in</userinput></screen>
+ <para os="cc1">When Cross Compiling the configure script does not
+ does not determine the correct values for the following, Set the values
+ manually:</para>
+
+<screen os="cc1"><userinput>cat > config.cache << EOF
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_realloc_0_nonnull=yes
+EOF</userinput></screen>
+
<para os="c">Prepare Flex for compilation:</para>
<screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
- --prefix=/usr</userinput></screen>
+ --prefix=/usr --cache-file=config.cache</userinput></screen>
<para os="e">Compile the package:</para>
Modified: branches/clfs-sysroot/BOOK/final-system/common/iproute2.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/iproute2.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/iproute2.xml Fri Mar 20 01:35:13 2009
@@ -48,8 +48,7 @@
<screen os="b"><userinput>make DESTDIR=${CLFS} CC="${CC}" \
DOCDIR=/usr/share/doc/iproute2 \
- MANDIR=/usr/share/man
-</userinput></screen>
+ MANDIR=/usr/share/man</userinput></screen>
<variablelist os="c">
<title>The meaning of the make option:</title>
More information about the Clfs-commits
mailing list