arch
authorCeph Maintainers <ceph-maintainers@lists.ceph.com>
Wed, 7 Jun 2017 08:39:39 +0000 (09:39 +0100)
committerAdrian Bunk <bunk@debian.org>
Wed, 7 Jun 2017 08:39:39 +0000 (09:39 +0100)
Gbp-Pq: Name arch.patch

configure.ac

index 32e273f1d993ce785d6119f5a2ac631e2da70c0d..68647b6c679773afd529d956315d3c16dae50f81 100644 (file)
@@ -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([], [[