[blfs] branch trunk updated: Fix texlive for gcc-16

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <178297253588.44201.9342299813013952889@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new c567bf6112 Fix texlive for gcc-16
c567bf6112 is described below

commit c567bf61129a173701e848a0268a902d487add6f
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Jul 2 08:03:57 2026 +0200

    Fix texlive for gcc-16
    
    Here again, although gcc-16 defaults to C++20, the detection of
    C++11 features uses a code incompatible with C++20, so that it fails
    and "-std=gnu++11" is passed to g++. But some included programs
    require C++17. Passing CXX="g++ -std=gnu++17" satifies all
    requirements...
    
    Note that texlive-2026 does not have this issue, but it has not
    been updated although present since April...
---
 pst/typesetting/texlive.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pst/typesetting/texlive.xml b/pst/typesetting/texlive.xml
index 676b71c17d..a03e888dee 100644
--- a/pst/typesetting/texlive.xml
+++ b/pst/typesetting/texlive.xml
@@ -292,6 +292,7 @@ mkdir texlive-build &amp;&amp;
 cd    texlive-build &amp;&amp;
 
 ../configure CC="gcc -std=gnu17" -C               \
+    CXX="g++ -std=gnu++17"                        \
     --prefix=$TEXLIVE_PREFIX                      \
     --bindir=$TEXLIVE_PREFIX/bin/$TEXARCH         \
     --datarootdir=$TEXLIVE_PREFIX                 \

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

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-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.