mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09: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:
parent
d61131945d
commit
5e430e4eb4
7 changed files with 81 additions and 26 deletions
|
@ -77,10 +77,12 @@ echo "done"
|
|||
|
||||
printf "installing userland... "
|
||||
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
find ../Userland/ -type f -executable -exec cp {} mnt/bin/ \;
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
find ../Userland/ -type f -perm +111 -exec cp {} mnt/bin/ \;
|
||||
elif [ "$(uname -s)" = "OpenBSD" ]; then
|
||||
find ../Userland/ -type f -perm -555 -exec cp {} mnt/bin/ \;
|
||||
else
|
||||
find ../Userland/ -type f -perm +111 -exec cp {} mnt/bin/ \;
|
||||
find ../Userland/ -type f -executable -exec cp {} mnt/bin/ \;
|
||||
fi
|
||||
chmod 4755 mnt/bin/su
|
||||
chmod 4755 mnt/bin/ping
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue