forked from Bananymous/banan-os
Ports: Add explicit -libgcc-shared for ports on 32 bit
This commit is contained in:
parent
de35cec2e1
commit
4e15b9cdfa
|
@ -36,6 +36,10 @@ if [ ! -f "$BANAN_SYSROOT/usr/lib/libc.a" ]; then
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$BANAN_ARCH" = "i686" ]; then
|
||||||
|
export LDFLAGS="-shared-libgcc"
|
||||||
|
fi
|
||||||
|
|
||||||
clean() {
|
clean() {
|
||||||
find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} +
|
find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} +
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue