diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils.xml | 4 | ||||
-rw-r--r-- | chapter06/glibc.xml | 4 | ||||
-rw-r--r-- | chapter06/pkgconfig.xml | 16 |
3 files changed, 19 insertions, 5 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 570722f13..cbfdd82d7 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -57,7 +57,7 @@ <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen> - <para>Fix a problem identified upstream:</para> + <para>Fix some problems identified upstream:</para> <screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen> @@ -106,7 +106,7 @@ cd build</userinput></screen> <para>Test the results:</para> -<screen><userinput remap="test">make check</userinput></screen> +<screen><userinput remap="test">make -k check</userinput></screen> <para>The test 'Link with zlib-gabi compressed debug output' is known to fail.</para> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 26adf6dac..e577e229a 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -68,6 +68,10 @@ <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> + <para>Fix some problems identified upstream:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen> + <para>The Glibc documentation recommends building Glibc in a dedicated build directory:</para> diff --git a/chapter06/pkgconfig.xml b/chapter06/pkgconfig.xml index eb9278d18..e582b47af 100644 --- a/chapter06/pkgconfig.xml +++ b/chapter06/pkgconfig.xml @@ -44,9 +44,10 @@ <para>Prepare Pkg-config for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --with-internal-glib \ - --disable-host-tool \ +<screen><userinput remap="configure">./configure --prefix=/usr \ + --with-internal-glib \ + --disable-compile-warnings \ + --disable-host-tool \ --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen> <variablelist> @@ -61,6 +62,15 @@ </varlistentry> <varlistentry> + <term><parameter>--disable-compile-warnings</parameter></term> + <listitem> + <para>This option prevents the build system from using + compiler flags which cause build failure when building + with GCC 6.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>--disable-host-tool</parameter></term> <listitem> <para>This option disables the creation of an undesired hard link |