Skip to content
Permalink
Browse files
8265192: [macos_aarch64] configure script fails if GNU uname in PATH
Reviewed-by: erikj
  • Loading branch information
nick-arm committed Apr 15, 2021
1 parent e167577 commit f4c3efd9cf441215755eb7157cc49a14c6759d33
Showing with 4 additions and 0 deletions.
  1. +4 −0 make/autoconf/build-aux/config.guess
@@ -104,6 +104,10 @@ fi

# Test and fix cpu on macos-aarch64, uname -p reports arm, buildsys expects aarch64
echo $OUT | grep arm-apple-darwin > /dev/null 2> /dev/null
if test $? != 0; then
# The GNU version of uname may be on the PATH which reports arm64 instead
echo $OUT | grep arm64-apple-darwin > /dev/null 2> /dev/null
fi
if test $? = 0; then
if [ `uname -m` = arm64 ]; then
OUT=aarch64`echo $OUT | sed -e 's/[^-]*//'`

1 comment on commit f4c3efd

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on f4c3efd Apr 15, 2021

Please sign in to comment.