diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index 7b5c12b79..4a856e361 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -6,7 +6,7 @@ Install Grep by running the following commands:
- export CPPFLAGS=-Dre_max_failures=re_max_failures2 + export CPPFLAGS=-Dre_max_failures=re_max_failures2 && ./configure --prefix=$LFS/usr --disable-nls && diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml index fba45efff..1bdbfd3fa 100644 --- a/chapter06/groff-inst.xml +++ b/chapter06/groff-inst.xml @@ -6,8 +6,8 @@ Install Groff by running the following commands:
- CXXFLAGS=-Dstrerror=strerror ./configure --prefix=/usr - && + CXXFLAGS="-Dstrerror=strerror $CXXFLAGS" ./configure + --prefix=/usr && make && make install