aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/patch-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/patch-inst.xml')
-rw-r--r--chapter05/patch-inst.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml
index 4eebac903..6a1d5d5cb 100644
--- a/chapter05/patch-inst.xml
+++ b/chapter05/patch-inst.xml
@@ -3,7 +3,7 @@
<para>Install Patch by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=$LFS/usr &amp;&amp;
+<para><screen><userinput>CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ./configure --prefix=$LFS/usr &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>