Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoconf: fix arch.h selection for arm* #5632

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/configure
Original file line number Diff line number Diff line change
Expand Up @@ -9375,7 +9375,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu

fi
;;
arm*) ARCH_LINK=arm32le.h endian=little
arm*) endian=little
if test "$CPU_BIT_STR" -eq 64; then
ARCH_LINK=arm64le.h
else
ARCH_LINK=arm32le.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking special compiler flags" >&5
$as_echo_n "checking special compiler flags... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ARM" >&5
Expand Down
7 changes: 6 additions & 1 deletion src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,12 @@ case "$host_cpu" in
JTR_ARM_SIMD_LOGIC
)
;;
arm*) ARCH_LINK=arm32le.h endian=little
arm*) endian=little
if test "$CPU_BIT_STR" -eq 64; then
ARCH_LINK=arm64le.h
else
ARCH_LINK=arm32le.h
fi
AC_MSG_CHECKING([special compiler flags])
AC_MSG_RESULT([ARM])
JTR_ARM_SPECIAL_LOGIC
Expand Down
Loading