From 4e15b9cdfae6be5b28ff9a776b95c2ec5d198352 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 5 Sep 2024 14:49:23 +0300 Subject: [PATCH] Ports: Add explicit -libgcc-shared for ports on 32 bit --- ports/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/install.sh b/ports/install.sh index 106603c0cb..a3f7cd3b11 100755 --- a/ports/install.sh +++ b/ports/install.sh @@ -36,6 +36,10 @@ if [ ! -f "$BANAN_SYSROOT/usr/lib/libc.a" ]; then popd >/dev/null fi +if [ "$BANAN_ARCH" = "i686" ]; then + export LDFLAGS="-shared-libgcc" +fi + clean() { find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} + }