Skip to content

Commit 31c22e4

Browse files
committed
buildscript: Let cpio command handle symlinks in the workspace path
1 parent a5f87c0 commit 31c22e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3201,7 +3201,7 @@ for host in "${ALL_HOSTS[@]}"; do
32013201
# Copy executables and shared libraries from the `host_install_destdir` to
32023202
# INSTALL_SYMROOT and run dsymutil on them.
32033203
(cd "${host_install_destdir}" &&
3204-
find ./"${TOOLCHAIN_PREFIX}" -perm -0111 -type f -print | cpio -pdm "${INSTALL_SYMROOT}")
3204+
find ./"${TOOLCHAIN_PREFIX}" -perm -0111 -type f -print | cpio --insecure -pdm "${INSTALL_SYMROOT}")
32053205

32063206
# Run dsymutil on executables and shared libraries.
32073207
#

0 commit comments

Comments
 (0)