Skip to content

Commit

Permalink
Conditionally check for LABEL_SUFFIX
Browse files Browse the repository at this point in the history
As it is only used for x86_64 and ARM64 in longlong_asm_gnu.h, only
check the suffix when host is either of these architectures.
  • Loading branch information
albinahlback committed Mar 6, 2025
1 parent 4eb95a6 commit ae4e8f4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1396,12 +1396,16 @@ then

GMP_FINISH
else
# NOTE: LSYM_PREFIX is needed for longlong_asm_gnu.h
GMP_INIT(tmpconf)
GMP_ASM_TEXT
GMP_ASM_LABEL_SUFFIX
GMP_ASM_LSYM_PREFIX
rm -f $gmp_tmpconfigm4 $gmp_tmpconfigm4i $gmp_tmpconfigm4p
# LSYM_PREFIX is still needed for x86-64 and ARM64 in longlong_asm_gnu.h
case $host in
ARM64_PATTERN | X86_64_PATTERN)
GMP_INIT(tmpconf)
GMP_ASM_TEXT
GMP_ASM_LABEL_SUFFIX
GMP_ASM_LSYM_PREFIX
rm -f $gmp_tmpconfigm4 $gmp_tmpconfigm4i $gmp_tmpconfigm4p
;;
esac
fi

if test "$enable_assembly" = "yes";
Expand Down

0 comments on commit ae4e8f4

Please sign in to comment.