f9f5b8
diff -Naur lzo-2.06/configure lzo-2.06.configure/configure
f9f5b8
--- lzo-2.06/configure	2011-08-12 21:32:59.000000000 +0530
f9f5b8
+++ lzo-2.06.configure/configure	2011-09-14 12:33:41.151087816 +0530
f9f5b8
@@ -12964,7 +12964,7 @@
f9f5b8
 asm_msg_amd64=no
f9f5b8
 asm_msg_i386=no
f9f5b8
 
f9f5b8
-case "$host_cpu-$ac_cv_sizeof_void_p" in
f9f5b8
+case "$target_cpu-$ac_cv_sizeof_void_p" in
f9f5b8
     amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
f9f5b8
     i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
f9f5b8
     *) enable_asm=no ;;
f9f5b8
diff -Naur lzo-2.06/configure.ac lzo-2.06.configure/configure.ac
f9f5b8
--- lzo-2.06/configure.ac	2011-08-12 21:32:59.000000000 +0530
f9f5b8
+++ lzo-2.06.configure/configure.ac	2011-09-14 12:33:31.851087334 +0530
f9f5b8
@@ -123,7 +123,7 @@
f9f5b8
 asm_msg_amd64=no
f9f5b8
 asm_msg_i386=no
f9f5b8
 
f9f5b8
-case "$host_cpu-$ac_cv_sizeof_void_p" in
f9f5b8
+case "$target_cpu-$ac_cv_sizeof_void_p" in
f9f5b8
     amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
f9f5b8
     i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
f9f5b8
     *) enable_asm=no ;;