12
if yasm -f elf64 src/common/crc32c_intel_fast_asm.S -o /dev/null; then
13
echo 'we have a modern and working yasm'
14
- if test `arch` = "x86_64" ; then
15
+ if test `dpkg-architecture -qDEB_BUILD_GNU_CPU` = "x86_64" ; then
18
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
19
#if defined(__x86_64__) && defined(__ILP32__)
9
@@ -91,7 +91,7 @@ AC_CHECK_PROG(YASM_CHECK, yasm, yes)
10
if test x"$YASM_CHECK" = x"yes"; then
11
if yasm -f elf64 src/common/crc32c_intel_fast_asm.S -o /dev/null; then
12
echo 'we have a modern and working yasm'
13
- if test `arch` = "x86_64" ; then
14
+ if test `dpkg-architecture -qDEB_BUILD_GNU_CPU` = "x86_64" ; then
17
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[