Opened 2 days ago

Last modified 39 hours ago

#5705 new enhancement

White space reduction? - LFS r12.3-36-systemd — at Version 1

Reported by: rhubarbpieguy Owned by: lfs-book
Priority: low Milestone: 12.4
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Xi Ruoyao)

Are the following candidates to reduce white space?

chapter05/gcc-libstdc++.xml

	 ../libstdc++-v3/configure           \
	     --host=$LFS_TGT                 \
	     --build=$(../config.guess)      \
	     --prefix=/usr                   \
	     --disable-multilib              \
	     --disable-nls                   \
	     --disable-libstdcxx-pch         \

	 ../libstdc++-v3/configure      \
	     --host=$LFS_TGT            \
	     --build=$(../config.guess) \
	     --prefix=/usr              \
	     --disable-multilib         \
	     --disable-nls              \
	     --disable-libstdcxx-pch    \
-----------------------------------------

 chapter06/gcc-pass2.xml

	 ../configure                                       \
	     --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                           \
	     --enable-default-ssp                           \
	     --disable-nls                                  \
	     --disable-multilib                             \
	     --disable-libatomic                            \
	     --disable-libgomp                              \
	     --disable-libquadmath                          \
	     --disable-libsanitizer                         \
	     --disable-libssp                               \
	     --disable-libvtv                               \

	 ../configure                                  \
	     --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                      \
	     --enable-default-ssp                      \
	     --disable-nls                             \
	     --disable-multilib                        \
	     --disable-libatomic                       \
	     --disable-libgomp                         \
	     --disable-libquadmath                     \
	     --disable-libsanitizer                    \
	     --disable-libssp                          \
	     --disable-libvtv                          \
--------------------------------------------------------

 chapter06/tar.xml

	 ./configure --prefix=/usr                     \
	             --host=$LFS_TGT                   \

	 ./configure --prefix=/usr   \
	             --host=$LFS_TGT \
--------------------------------------

 chapter08/acl.xml

	 ./configure --prefix=/usr         \
	             --disable-static      \

	 ./configure --prefix=/usr    \
	             --disable-static \
---------------------------------------                

 chapter08/e2fsprogs.xml

	 ../configure --prefix=/usr           \
	              --sysconfdir=/etc       \
	              --enable-elf-shlibs     \
	              --disable-libblkid      \
	              --disable-libuuid       \
	              --disable-uuidd         \

	 ../configure --prefix=/usr       \
	              --sysconfdir=/etc   \
	              --enable-elf-shlibs \
	              --disable-libblkid  \
	              --disable-libuuid   \
	              --disable-uuidd     \
-------------------------------------------

 chapter08/glibc.xml

	 ../configure --prefix=/usr                            \
	              --disable-werror                         \
	              --enable-kernel=5.4                      \
	              --enable-stack-protector=strong          \
	              --disable-nscd                           \

	 ../configure --prefix=/usr                   \
	              --disable-werror                \
	              --enable-kernel=5.4             \
	              --enable-stack-protector=strong \
	              --disable-nscd                  \
-------------------------------------------------------

 chapter08/grub.xml

	 ./configure --prefix=/usr          \
	             --sysconfdir=/etc      \
	             --disable-efiemu       \

	 ./configure --prefix=/usr     \
	             --sysconfdir=/etc \
	             --disable-efiemu  \
----------------------------------------

 chapter08/libelf.xml

	 ./configure --prefix=/usr                \
	             --disable-debuginfod         \

	 ./configure --prefix=/usr        \
	             --disable-debuginfod \
-------------------------------------------

 chapter08/libffi.xml

	 ./configure --prefix=/usr          \
	             --disable-static       \

	 ./configure --prefix=/usr    \
	             --disable-static \
---------------------------------------

 chapter08/pkgconf.xml

	 ./configure --prefix=/usr              \
	             --disable-static           \

	 ./configure --prefix=/usr    \
	             --disable-static \


Change History (1)

comment:1 by Xi Ruoyao, 2 days ago

Description: modified (diff)

At the very lease, for Glibc we won't remove all the "extra" spaces. We have:

<!-- 5.4 EOL is Dec 2025
     so for LFS 12.5 we may consider moving to 5.10.
     Keep an extra whitespace here to align the trailing "\" in glibc
     configure command if y < 10 in x.y.  -->
<!ENTITY min-kernel      "5.4 ">
Note: See TracTickets for help on using tickets.