make 选项
--with-sysroot=$LFS
For cross compilation, this tells the build system to look in $LFS for the target system libraries as needed.
--with-lib-path=/tools/lib
This specifies which library path the linker should be configured to use.
--target=$LFS_TGT
Because the machine description in the LFS_TGT variable is slightly different than the value returned by the
config.guess script, this switch will tell the configure script to adjust Binutil's build system for building a cross
linker.
--disable-werror
This prevents the build from stopping in the event that there are warnings from the host's compiler.
Using --disable-shared means that the libgcc_eh.a file isn't created and installed. The Glibc package
depends on this library as it uses -lgcc_eh within its build system. This dependency can be satisfied by creating a
symlink to libgcc.a, since that file will end up containing the objects normally contained in libgcc_eh.a:
-C ld clean
This tells the make program to remove all compiled files in the ld subdirectory.
make LDFLAGS=-pthread
...