aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2014-06-14 19:51:45 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2014-06-14 19:51:45 +0000
commit61ce0b1fe4ffbf86ef3189e733f9f372cac419aa (patch)
tree4d470e322c309bbd743befe34f84f06d4c95b040 /chapter06/systemd.xml
parent6f34f438e62ee95fd8b9025984ecc0a0bafd1f32 (diff)
Synchronized with LFS-SVN-20140611.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10576 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml7
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 \