Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
4969162c03
  1. 2
      miner.h

2
miner.h

@ -55,7 +55,7 @@ void *alloca (size_t); @@ -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

Loading…
Cancel
Save