Index: configure
===================================================================
--- configure	(revision 2ea0a8a12ad6c262bec0d17f6e20d736bec4149c)
+++ configure	(revision 47c1928b39e141cf752717688b57df8b99a499d7)
@@ -668,4 +668,5 @@
 LIBCFA_TARGET_DIRS
 TARGET_HOSTS
+HOST_FLAGS
 host_os
 host_vendor
@@ -3411,4 +3412,19 @@
 
 
+if ! test "$host_cpu" = "$build_cpu"; then
+	case $host_cpu in
+		i386)
+			HOST_FLAGS="-m32"
+			;;
+		i686)
+			HOST_FLAGS="-m32"
+			;;
+		x86_64)
+			HOST_FLAGS="-m64"
+			;;
+	esac
+fi
+
+
 default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
 
