mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-01 17:18:46 +08:00
Avoid permission error when building libtool
Apparently .git files contains 0400 mode files which fails cp -rp so it fails with rootless podman setting
This commit is contained in:
parent
9114ec3cf1
commit
1a0b0f129a
@ -70,7 +70,7 @@ $(PREFIX)/relibc-install.tar.gz: $(PREFIX)/relibc-install
|
||||
--directory="$<" \
|
||||
.
|
||||
|
||||
$(PREFIX)/libtool:
|
||||
$(PREFIX)/libtool: $(PREFIX)/libtool.tar.gz
|
||||
rm -rf "$@.partial" "$@"
|
||||
mkdir -p "$@.partial"
|
||||
|
||||
@ -100,7 +100,7 @@ else
|
||||
--gnulib-srcdir=./gnulib
|
||||
PATH="$(ROOT)/$(PREFIX)/rust-install/bin:$$PATH" && \
|
||||
cd "$@.partial" && \
|
||||
cp -rp $(abspath $<)/. ./ && \
|
||||
cp -r $(abspath $<)/. ./ && \
|
||||
"$(ROOT)/$</configure" \
|
||||
--target="$(TARGET)" \
|
||||
--prefix=$(abspath $(PREFIX)/sysroot) && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user