From c68c7cce1af083f336aa213c95f710ea0ebe3219 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 7 Mar 2024 00:01:51 +0000 Subject: [GHA asy] try statically linking libgcc and stdc++ git-svn-id: svn://tug.org/texlive/trunk@70456 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/.github/scripts/build-asy.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Build') diff --git a/Build/source/.github/scripts/build-asy.sh b/Build/source/.github/scripts/build-asy.sh index ac5e1fc8326..9f749134dd0 100755 --- a/Build/source/.github/scripts/build-asy.sh +++ b/Build/source/.github/scripts/build-asy.sh @@ -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 -- cgit v1.2.3