Package: ceph / 10.2.5-6~bpo8+1

arch.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Last-Update: 2014-10-19
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: use `dpkg-architecture` instead of `arch` to get build architecture
 Fixes build in `pbuilder` on amd64 for i386.

--- a/configure.ac
+++ b/configure.ac
@@ -244,7 +244,7 @@
 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([], [[