Skip to content

Commit

Permalink
Fix compilation of server daemon using Arch Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Jul 12, 2024
1 parent 9f0c843 commit 4797a30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion env/sys-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ pushd "${sysroot}"
# or maybe reimplement using multistrap? https://wiki.debian.org/Multistrap

if [[ $(uname -s) = Linux ]]; then
# older versions of proot can't handle newer versions of glibc
# older versions of proot can't handle newer versions of glibc (so build one)
# XXX: https://github.com/proot-me/proot/pull/383
CFLAGS='-Wno-implicit-function-declaration' \
flock "${mount}/proot.lock" "${MAKE:=make}" -C "${mount}/proot/src" PYTHON=false
proot=${mount}/proot/src/proot

Expand Down
2 changes: 1 addition & 1 deletion env/uname.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ uname-m := $(shell uname -m)
uname-s := $(shell uname -s)
uname-o := $(shell uname -o 2>/dev/null)

objcopy = $(shell which $(host/$*)-objcopy objcopy 2>&1 | head -n1)
objcopy = $(shell which $(host/$*)-objcopy objcopy 2>/dev/null | head -n1)

-include $(pwd)/uname-$(uname-s).mk

0 comments on commit 4797a30

Please sign in to comment.