Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents build failure when yasm is installed but -msse2 is not specified.
diff --git a/miner.h b/miner.h
index 89894eb..0414bf9 100644
--- a/miner.h
+++ b/miner.h
@@ -55,7 +55,7 @@ void *alloca (size_t);
#define WANT_SSE2_4WAY 1
#endif
-#if defined(__i386__) && defined(HAS_YASM)
+#if defined(__i386__) && defined(HAS_YASM) && defined(__SSE2__)
#define WANT_X8632_SSE2 1
#endif