Build and install cp from coreutils to replace our minimal cp

Also update tcc-musl.sh to take advantage that cp can now copy
recursively
This commit is contained in:
Paul Dersey 2021-02-19 11:19:51 -05:00 committed by Andrius Štikonas
parent b51a2ec069
commit 7803089a6b
3 changed files with 5 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,9 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
# Our cp does not support recursive copying
tar -c -C ../src/ -f tcc-0.9.27.tar tcc-0.9.27/
tar -xf tcc-0.9.27.tar
cp -r ../src/tcc-0.9.27 .
}
src_prepare() {