8199152: Configure broken on arm32

Reviewed-by: ihse
This commit is contained in:
Ed Nevill 2018-03-06 23:03:50 +00:00
parent c37c87b388
commit cf0e82688b

View File

@ -236,7 +236,8 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
if test "x$TOOLCHAIN_TYPE" = xxlc; then
MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
elif test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
if test "x$OPENJDK_TARGET_CPU" != xaarch64; then
if test "x$OPENJDK_TARGET_CPU" != xaarch64 &&
test "x$OPENJDK_TARGET_CPU" != xarm; then
MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
fi
fi