summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-armv7hl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel-armv7hl.spec')
-rw-r--r--packaging/qemu-accel-armv7hl.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec
index 7cbdc5b..8898301 100644
--- a/packaging/qemu-accel-armv7hl.spec
+++ b/packaging/qemu-accel-armv7hl.spec
@@ -185,7 +185,7 @@ function prepare_package_list {
echo "Setting up $name for $executables"
## Prepare the clang binaries separately
for executable in $executables; do
- bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
+ bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do