Skip to content

Commit

Permalink
[GHA asy] try statically linking libgcc and stdc++
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@70456 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
norbusan committed Mar 7, 2024
1 parent fa06813 commit 4217171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/build-asy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ $TL_MAKE -j2

# relink with static libtirpc if possible
sed -i -e '/^LFLAGS/s/-ltirpc/-Wl,-Bstatic -ltirpc -Wl,-Bdynamic/' Makefile
# static linking of stdc++
sed -i -e '/^LDFLAG/s/= /= -static-libgcc -static-libstdc++ /' Makefile
$TL_MAKE

strip asy
Expand Down

0 comments on commit 4217171

Please sign in to comment.