diff options
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r-- | chapter06/systemd.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 1229318fb..3961d5a53 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -47,10 +47,11 @@ <literal>KILL=/bin/kill HAVE_BLKID=1 BLKID_LIBS="-lblkid" -BLKID_CFLAGS="-I/tools/include/blkid"</literal> +BLKID_CFLAGS="-I/tools/include/blkid" +cc_cv_CFLAGS__flto=no</literal> EOF</userinput></screen> - <para>Aditionally, fix a build error when using Util-Linux built in + <para>Additionally, fix a build error when using Util-Linux built in Chapter 5:</para> <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen> @@ -62,7 +63,7 @@ EOF</userinput></screen> <para>Prepare Systemd for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ +<screen><userinput remap="configure">CFLAGS="-fno-lto" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --config-cache \ |