From 8bf2a367452d87b291c00716a65f752b62bebf2e Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 27 Jun 2001 23:26:54 +0000 Subject: When setting CXXFLAGS, don't override what could be set already by a user, just add to it. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@718 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/grep-inst.xml | 2 +- chapter06/groff-inst.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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
-- cgit v1.2.3-54-g00ecf