--- ./configure.orig	2015-06-22 17:21:45.000000000 +0300
+++ ./configure	2015-06-22 17:56:55.863549319 +0300
@@ -5668,25 +5668,15 @@
 CrossCompiling=NO
 # If 'host' and 'target' differ, then this means we are building a cross-compiler.
 if test "$target" != "$host" ; then
-    CrossCompiling=YES
-    cross_compiling=yes   # This tells configure that it can accept just 'target',
+    target=build
+    CrossCompiling=NO
+    cross_compiling=no    # This tells configure that it can accept just 'target',
                           # otherwise you get
                           #   configure: error: cannot run C compiled programs.
                           #   If you meant to cross compile, use `--host'.
 fi
 if test "$build" != "$host" ; then
-   as_fn_error $? "
-You've selected:
-
-  BUILD:  $build   (the architecture we're building on)
-  HOST:   $host    (the architecture the compiler we're building will execute on)
-  TARGET: $target  (the architecture the compiler we're building will produce code for)
-
-BUILD must equal HOST; that is, we do not support building GHC itself
-with a cross-compiler.  To cross-compile GHC itself, set TARGET: stage
-1 will be a cross-compiler, and stage 2 will be the cross-compiled
-GHC.
-" "$LINENO" 5
+  host=build
 fi
 if test "$CrossCompiling" = "YES"
 then
