diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-27 23:26:54 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-27 23:26:54 +0000 |
commit | 8bf2a367452d87b291c00716a65f752b62bebf2e (patch) | |
tree | 171df96fcdf1b65a54947c6af17031f31a1125af | |
parent | 2164ba817f3de996376c1c14d704c0da089cae59 (diff) |
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
-rw-r--r-- | chapter05/grep-inst.xml | 2 | ||||
-rw-r--r-- | 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: </para> <blockquote><literallayout> - <userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 + <userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&</userinput> <userinput>./configure --prefix=$LFS/usr --disable-nls &&</userinput> 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: </para> <blockquote><literallayout> - <userinput>CXXFLAGS=-Dstrerror=strerror ./configure --prefix=/usr - &&</userinput> + <userinput>CXXFLAGS="-Dstrerror=strerror $CXXFLAGS" ./configure + --prefix=/usr &&</userinput> <userinput>make &&</userinput> <userinput>make install</userinput> </literallayout></blockquote> |