diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 478462c78..13baefa48 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -87,7 +87,6 @@ cd build --build=$(../config.guess) \ --host=$LFS_TGT \ --target=$LFS_TGT \ - LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ --prefix=/usr \ --with-build-sysroot=$LFS \ --enable-default-pie \ @@ -100,7 +99,9 @@ cd build --disable-libsanitizer \ --disable-libssp \ --disable-libvtv \ - --enable-languages=c,c++ + --enable-languages=c,c++ \ + LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc + The meaning of the new configure options: