[packages/kvazaar] - use ARCH_X86_64=1 on x32; builds now

qboosh qboosh at pld-linux.org
Thu Oct 15 17:44:13 CEST 2015


commit c8a8bc4b03125688eacf2951c1f0e72d98437973
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 15 17:45:10 2015 +0200

    - use ARCH_X86_64=1 on x32; builds now

 kvazaar-x32.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/kvazaar-x32.patch b/kvazaar-x32.patch
index 30e8da1..41856a3 100644
--- a/kvazaar-x32.patch
+++ b/kvazaar-x32.patch
@@ -12,3 +12,15 @@
    endif
    LIBKVAZAAR_SHARED = $(LIB)
    INSTALL_TARGETS += install-lib install-static
+@@ -137,7 +137,11 @@
+ ifeq ($(TARGET_CPU_ARCH) $(TARGET_CPU_BITS), x86 64)
+   ASFLAGS += -DARCH_X86_64=1
+ else
++  ifeq ($(TARGET_CPU_ARCH) $(TARGET_CPU_BITS), x86 x32)
++    ASFLAGS += -DARCH_X86_64=1
++  else
+   ASFLAGS += -DARCH_X86_64=0
++  endif
+ endif
+ 
+ # Disable ASM optimizations if YASM is not found on path.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kvazaar.git/commitdiff/c8a8bc4b03125688eacf2951c1f0e72d98437973



More information about the pld-cvs-commit mailing list