diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/glibc.xml | 4 | ||||
-rw-r--r-- | chapter05/make.xml | 15 |
2 files changed, 18 insertions, 1 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 3eaf21932..9ae8be8cd 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -56,6 +56,10 @@ fi</userinput></screen> <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen> + <para>Allow Glibc to be built using Make-&make-version;:</para> + +<screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen> + <para>The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> diff --git a/chapter05/make.xml b/chapter05/make.xml index 44cbac46c..22b5afb4e 100644 --- a/chapter05/make.xml +++ b/chapter05/make.xml @@ -44,7 +44,20 @@ <para>Prepare Make for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen> + + <variablelist> + <title>The meaning of the configure option:</title> + + <varlistentry> + <term><parameter>--without-guile</parameter></term> + <listitem> + <para>This ensures that Make-&make-version; won't link against Guile libraries, which + may be present on the host system, but won't be available within the + <command>chroot</command> environment in the next chapter.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |