aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils.xml4
-rw-r--r--chapter06/systemd.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index d54cbe45e..ae8aff092 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -72,7 +72,9 @@ cd ../binutils-build</userinput></screen>
<para>Prepare Binutils for compilation:</para>
-<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
+<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr \
+ --enable-shared \
+ --disable-werror</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index c1a17648e..107500f8f 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -53,7 +53,8 @@
<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>Additionally, fix a build error when using Util-Linux built in