diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-01-30 20:11:21 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-01-30 20:11:21 +0000 |
commit | b6e5dcfd09b29dc67b2abe246d18815ec4b84d85 (patch) | |
tree | 1890fe43478597048af625fb5ccbaa938b943643 | |
parent | 18b846f5f6f4ba89ece8526bc6363d4ba7c86906 (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.xml | 4 | ||||
-rw-r--r-- | chapter06/patch-inst.xml | 4 |
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 && +<para><screen><userinput>export CPPFLAGS=-D_GNU_SOURCE && +./configure --prefix=$LFS/usr && +unset CPPFLAGS && make LDFLAGS=-static && 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 && +<para><screen><userinput>export CPPFLAGS=-D_GNU_SOURCE && +./configure --prefix=/usr && +unset CPPFLAGS && make && make install</userinput></screen></para> |