File libvpx-configure-add-s390.patch of Package libvpx.13783

Index: libvpx-1.6.1/build/make/configure.sh
===================================================================
--- libvpx-1.6.1.orig/build/make/configure.sh
+++ libvpx-1.6.1/build/make/configure.sh
@@ -694,6 +694,12 @@ process_common_toolchain() {
       *i[3456]86*)
         tgt_isa=x86
         ;;
+      *s390x*)
+        tgt_isa=s390x
+        ;;
+      *s390*)
+        tgt_isa=s390
+        ;;
       *sparc*)
         tgt_isa=sparc
         ;;
Index: libvpx-1.6.1/configure
===================================================================
--- libvpx-1.6.1.orig/configure
+++ libvpx-1.6.1/configure
@@ -113,6 +113,8 @@ all_platforms="${all_platforms} armv7s-d
 all_platforms="${all_platforms} armv8-linux-gcc"
 all_platforms="${all_platforms} mips32-linux-gcc"
 all_platforms="${all_platforms} mips64-linux-gcc"
+all_platforms="${all_platforms} s390-linux-gcc"
+all_platforms="${all_platforms} s390x-linux-gcc"
 all_platforms="${all_platforms} sparc-solaris-gcc"
 all_platforms="${all_platforms} x86-android-gcc"
 all_platforms="${all_platforms} x86-darwin8-gcc"
openSUSE Build Service is sponsored by