summaryrefslogtreecommitdiffstats
path: root/support/scripts/check-bin-arch
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts/check-bin-arch')
-rwxr-xr-xsupport/scripts/check-bin-arch6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/scripts/check-bin-arch b/support/scripts/check-bin-arch
index b822cdd60d..700ee3f65e 100755
--- a/support/scripts/check-bin-arch
+++ b/support/scripts/check-bin-arch
@@ -36,6 +36,12 @@ while read f; do
continue
fi
+ # Skip symlinks. Some symlinks may have absolute paths as
+ # target, pointing to host binaries while we're building.
+ if [[ -L "${f}" ]]; then
+ continue
+ fi
+
# Get architecture using readelf. We pipe through 'head -1' so
# that when the file is a static library (.a), we only take
# into account the architecture of the first object file.
OpenPOWER on IntegriCloud