aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/patch-exp.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2002-01-30 16:54:26 +0000
committerMark Hymers <markh@linuxfromscratch.org>2002-01-30 16:54:26 +0000
commit5d3dcef94acf83aacbff5e31d5e4d63350d4987d (patch)
treee0ca214bf7437b3b11be1872934d2ee1b2d24617 /chapter05/patch-exp.xml
parent711e548c59b73a92316e8af93dc4e8f6074c61e5 (diff)
[Bug 242] patch 2.5.4 needs -D_GNU_SOURCE on PPC
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1515 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/patch-exp.xml')
-rw-r--r--chapter05/patch-exp.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter05/patch-exp.xml b/chapter05/patch-exp.xml
new file mode 100644
index 000000000..82a5489e8
--- /dev/null
+++ b/chapter05/patch-exp.xml
@@ -0,0 +1,11 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE": </userinput>
+Adding <userinput>-D_GNU_SOURCE</userinput> command before
+we configure patch fixes installation of the package on PPC and m68k
+platforms (that we know of). It also doesn't hurt compilation on other
+platforms (such as x86) so we do it by default.</para>
+
+</sect2>
+