1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:57:35 +00:00

Build: add support for building on OpenBSD

This requires gcc8 from ports to build the Toolchain.
This commit is contained in:
joshua stein 2020-01-01 20:06:14 -06:00 committed by Andreas Kling
parent d61131945d
commit 5e430e4eb4
7 changed files with 81 additions and 26 deletions

View file

@ -12,8 +12,14 @@ export build_group
sudo id
make -C ../ clean && \
make -C ../ && \
make -C ../ test && \
make -C ../ install &&
MAKE=make
if [ "$(uname -s)" = "OpenBSD" ]; then
MAKE=gmake
fi
$MAKE -C ../ clean && \
$MAKE -C ../ && \
$MAKE -C ../ test && \
$MAKE -C ../ install &&
sudo -E PATH="$PATH" ./build-image-qemu.sh