diff options
-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> |