aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-01-30 20:11:21 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-01-30 20:11:21 +0000
commitb6e5dcfd09b29dc67b2abe246d18815ec4b84d85 (patch)
tree1890fe43478597048af625fb5ccbaa938b943643
parent18b846f5f6f4ba89ece8526bc6363d4ba7c86906 (diff)
changed patch CPPFLAGS part to match how it's done with for example
chapter5/sed git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1518 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/patch-inst.xml4
-rw-r--r--chapter06/patch-inst.xml4
2 files changed, 6 insertions, 2 deletions
diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml
index 6a1d5d5cb..215ad9723 100644
--- a/chapter05/patch-inst.xml
+++ b/chapter05/patch-inst.xml
@@ -3,7 +3,9 @@
<para>Install Patch by running the following commands:</para>
-<para><screen><userinput>CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ./configure --prefix=$LFS/usr &amp;&amp;
+<para><screen><userinput>export CPPFLAGS=-D_GNU_SOURCE &amp;&amp;
+./configure --prefix=$LFS/usr &amp;&amp;
+unset CPPFLAGS &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml
index 52c9e7b5d..5f4f0400d 100644
--- a/chapter06/patch-inst.xml
+++ b/chapter06/patch-inst.xml
@@ -3,7 +3,9 @@
<para>Install Patch by running the following commands:</para>
-<para><screen><userinput>CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>export CPPFLAGS=-D_GNU_SOURCE &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+unset CPPFLAGS &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>