[lfs] 02/02: m4; gmp: Alignment, remove outdated fixes.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch multilib
in repository lfs.

commit 4f989d6a82e8aebc37b525d7b6a41583d4321817
Author: Zeckmathederg <[email protected]>
AuthorDate: Fri Oct 3 15:06:09 2025 -0600

    m4; gmp: Alignment, remove outdated fixes.
---
 chapter06/m4.xml  |  2 --
 chapter08/gmp.xml | 36 +++++++++++++++++-------------------
 2 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index 25c16939a..0bbd08079 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -50,8 +50,6 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen>
 -->
     <para>Prepare M4 for compilation:</para>
 
-<screen><userinput remap="pre">sed 's/\[\[__nodiscard__]]//' -i lib/config.hin</userinput></screen>
-
 <screen><userinput remap="configure">./configure --prefix=/usr   \
             --host=$LFS_TGT \
             --build=$(build-aux/config.guess)</userinput></screen>
diff --git a/chapter08/gmp.xml b/chapter08/gmp.xml
index 5778d0142..a04ce11f7 100644
--- a/chapter08/gmp.xml
+++ b/chapter08/gmp.xml
@@ -148,17 +148,16 @@ cp -v configfsf.sub   config.sub</userinput></screen>
 
     <para>Prepare GMP for compilation:</para>
 
-<screen><userinput remap="configure">ABI="32" \
+<screen><userinput remap="configure">ABI="32"                               \
 CFLAGS="-m32 -O2 -pedantic -fomit-frame-pointer -mtune=generic -march=i686" \
-CXXFLAGS="$CFLAGS" \
+CXXFLAGS="$CFLAGS"                     \
 PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
-./configure                      \
-    --host=i686-pc-linux-gnu     \
-    --prefix=/usr                \
-    --disable-static             \
-    --enable-cxx                 \
-    --libdir=/usr/lib32          \
-    --includedir=/usr/include/m32/gmp</userinput></screen>
+./configure --prefix=/usr              \
+            --host=i686-pc-linux-gnu   \
+            --disable-static           \
+            --enable-cxx               \
+            --libdir=/usr/lib32        \
+            --includedir=/usr/include/m32/gmp</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>
@@ -221,17 +220,16 @@ cp -v configfsf.sub   config.sub</userinput></screen>
 
     <para>Prepare GMP for compilation:</para>
 
-<screen><userinput remap="configure">ABI="x32" \
+<screen><userinput remap="configure">ABI="x32"                                 \
 CFLAGS="-mx32 -O2 -pedantic -fomit-frame-pointer -mtune=generic -march=x86-64" \
-CXXFLAGS="$CFLAGS" \
-PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \
-./configure                       \
-    --host=x86_64-pc-linux-gnux32 \
-    --prefix=/usr                 \
-    --disable-static              \
-    --enable-cxx                  \
-    --libdir=/usr/libx32          \
-    --includedir=/usr/include/mx32/gmp</userinput></screen>
+CXXFLAGS="$CFLAGS"                        \
+PKG_CONFIG_PATH="/usr/libx32/pkgconfig"   \
+./configure --prefix=/usr                 \
+            --host=x86_64-pc-linux-gnux32 \
+            --disable-static              \
+            --enable-cxx                  \
+            --libdir=/usr/libx32          \
+            --includedir=/usr/include/mx32/gmp</userinput></screen>
 
     <para>Compile the package:</para>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.