diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml index 55beb8d9f..813621471 100644 --- a/chapter05/binutils-inst.xml +++ b/chapter05/binutils-inst.xml @@ -14,7 +14,7 @@ warned. mkdir ../binutils-build && cd ../binutils-build && ../binutils-&binutils-version;/configure --prefix=$LFS/usr --disable-nls && -make LDFLAGS=-all-static tooldir=$LFS/usr && +make tooldir=$LFS/usr LDFLAGS=-all-static && make tooldir=$LFS/usr install diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 029fa52fe..e27dd0e95 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -9,7 +9,7 @@ commands. default optimization flags (including the -march and -mcpu options). GCC is best left alone. Therefore, if you have defined any environment variables that override default optimizations, such as CFLAGS and CXXFLAGS, we -recommend unsetting or modifying them when building binutils. You have +recommend unsetting or modifying them when building GCC. You have been warned. Install GCC by running the following commands: