ports: Unconditionally compile banan-os before building ports
This allows ports to use any banan-os library cleanly. Ninja is fast on when everything is already compiled, so it doesn't add too much overhead.
This commit is contained in:
parent
a668593e6b
commit
0dd81328ff
|
@ -29,12 +29,9 @@ export OBJDUMP="$BANAN_TOOLCHAIN_TRIPLE-objdump"
|
|||
export STRIP="$BANAN_TOOLCHAIN_TRIPLE-strip"
|
||||
export CXXFILT="$BANAN_TOOLCHAIN_TRIPLE-c++filt"
|
||||
|
||||
if [ ! -f "$BANAN_SYSROOT/usr/lib/libc.a" ]; then
|
||||
pushd "$BANAN_ROOT_DIR" >/dev/null
|
||||
./bos libc || exit 1
|
||||
./bos install || exit 1
|
||||
popd >/dev/null
|
||||
fi
|
||||
pushd "$BANAN_ROOT_DIR" >/dev/null
|
||||
./bos all && ./bos install || exit 1
|
||||
popd >/dev/null
|
||||
|
||||
if [ "$BANAN_ARCH" = "i686" ]; then
|
||||
export LDFLAGS="-shared-libgcc"
|
||||
|
|
Loading…
Reference in New Issue