1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents build failure when yasm is installed but -msse2 is not specified.

This commit is contained in:
Con Kolivas 2011-08-29 10:12:34 +10:00
parent 7d34a6b6e3
commit 4969162c03

View File

@ -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