Skip to content

Commit

Permalink
[GA] more c++17 fixes
Browse files Browse the repository at this point in the history
almalinux:
- install gcc-toolset-11
i386-linux, x86_64-linux(musl)
- add -std=c++17 CXXFLAG

git-svn-id: svn://tug.org/texlive/trunk/Build/source@72687 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
norbusan committed Oct 28, 2024
1 parent 48de0bd commit d501c3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/build-tl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ then
;;
almalinux)
yum update -y
yum install -y gcc-toolset-9 fontconfig-devel libX11-devel libXmu-devel libXaw-devel
. /opt/rh/gcc-toolset-9/enable
yum install -y gcc-toolset-11 fontconfig-devel libX11-devel libXmu-devel libXaw-devel
. /opt/rh/gcc-toolset-11/enable
;;
centos)
yum update -y
Expand Down Expand Up @@ -121,7 +121,7 @@ case "$arch" in
export CFLAGS=-D_NETBSD_SOURCE
export CXXFLAGS='-D_NETBSD_SOURCE -std=c++17'
;;
i386-linux)
x86_64-linux|i386-linux|x86_64-linuxmusl)
export CXXFLAGS='-std=c++17'
;;
esac
Expand Down

0 comments on commit d501c3e

Please sign in to comment.