Patch by Sergei Golovan removes -m32 or -m64 gcc command line options
(which lead to FTBFS) for all non-x86* architectures.

--- yaws-1.93.orig/configure
+++ yaws-1.93/configure
@@ -4072,15 +4072,15 @@
   { $as_echo "$as_me:${as_lineno-$LINENO}: found 64-bit Erlang" >&5
 $as_echo "$as_me: found 64-bit Erlang" >&6;}
                    case "$host_cpu" in
-                       x86_64) CBIT= ;;
-                       *) CBIT=-m64 ;;
+                       i?86) CBIT=-m64 ;;
+                       *) CBIT= ;;
                    esac
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: found 32-bit Erlang" >&5
 $as_echo "$as_me: found 32-bit Erlang" >&6;}
                    case "$host_cpu" in
-                       i?86) CBIT= ;;
-                       *) CBIT=-m32 ;;
+                       x86_64) CBIT=-m32 ;;
+                       *) CBIT= ;;
                    esac
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
--- yaws-1.93.orig/configure.in
+++ yaws-1.93/configure.in
@@ -231,13 +231,13 @@
                             end end)])],
 	       [AC_MSG_NOTICE(found 64-bit Erlang)
                    case "$host_cpu" in
-                       x86_64) CBIT= ;;
-                       *) CBIT=-m64 ;;
+                       i?86) CBIT=-m64 ;;
+                       *) CBIT= ;;
                    esac],
 	       [AC_MSG_NOTICE(found 32-bit Erlang)
                    case "$host_cpu" in
-                       i?86) CBIT= ;;
-                       *) CBIT=-m32 ;;
+                       x86_64) CBIT=-m32 ;;
+                       *) CBIT= ;;
                    esac])
            CFLAGS="$CFLAGS $CBIT"
            LD_SHARED="$CC $CBIT -shared"
