android_mt6572_jiabo/external/valgrind/tests/check_ppc64le_cap
2025-09-05 16:56:03 +08:00

14 lines
235 B
Bash
Executable file

#!/bin/sh
# Helper script to indicate if we are ppc64 LE.
# Note: The ELFV2 ABI (for ppc64le) specifically does not
# support the 32-bit environment.
UNAME_M="$(uname -m)"
if [ $UNAME_M != "ppc64le" ]; then
exit 1
else
exit 0
fi