diff options
Diffstat (limited to 'chapter06/pkgconfig.xml')
-rw-r--r-- | chapter06/pkgconfig.xml | 16 |
1 files changed, 13 insertions, 3 deletions
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 |