From: Ceph Maintainers Date: Wed, 7 Jun 2017 08:39:39 +0000 (+0100) Subject: arch X-Git-Tag: archive/raspbian/12.2.8+dfsg1-5+rpi1~3^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dfa60cde53a7a856fd400e1772758de8d4e104e2;p=ceph.git arch Gbp-Pq: Name arch.patch --- diff --git a/configure.ac b/configure.ac index 32e273f1d..68647b6c6 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,7 @@ AC_CHECK_PROG(YASM_CHECK, yasm, yes) if test x"$YASM_CHECK" = x"yes"; then if yasm -f elf64 src/common/crc32c_intel_fast_asm.S -o /dev/null; then echo 'we have a modern and working yasm' - if test `arch` = "x86_64" ; then + if test `dpkg-architecture -qDEB_BUILD_GNU_CPU` = "x86_64" ; then echo 'we are x86_64' arch_x32=0 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[