Ports: Add explicit -libgcc-shared for ports on 32 bit

This commit is contained in:
Bananymous 2024-09-05 14:49:23 +03:00
parent de35cec2e1
commit 4e15b9cdfa
1 changed files with 4 additions and 0 deletions

View File

@ -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 {} +
}