From b6e5dcfd09b29dc67b2abe246d18815ec4b84d85 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 30 Jan 2002 20:11:21 +0000 Subject: [PATCH] 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 --- chapter05/patch-inst.xml | 4 +++- 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 @@ Install Patch by running the following commands: -CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ./configure --prefix=$LFS/usr && +export CPPFLAGS=-D_GNU_SOURCE && +./configure --prefix=$LFS/usr && +unset CPPFLAGS && make LDFLAGS=-static && make install 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 @@ Install Patch by running the following commands: -CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ./configure --prefix=/usr && +export CPPFLAGS=-D_GNU_SOURCE && +./configure --prefix=/usr && +unset CPPFLAGS && make && make install