diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/patch-inst.xml | 4 |
1 files changed, 3 insertions, 1 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> |