Skip to content

Commit

Permalink
compile with avx2 support on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
djm34 committed Mar 10, 2019
1 parent 4d91abc commit aeb6958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -146,8 +146,8 @@ endif

cpuminer_LDFLAGS = @LDFLAGS@
cpuminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
cpuminer_CPPFLAGS = -fno-strict-aliasing -std=gnu++11 @LIBCURL_CPPFLAGS@ $(ALL_INCLUDES)
cpuminer_CFLAGS = -Wno-pointer-sign -Wno-pointer-to-int-cast $(disable_flags)
cpuminer_CPPFLAGS = -mavx2 -fno-strict-aliasing -std=gnu++11 @LIBCURL_CPPFLAGS@ $(ALL_INCLUDES)
cpuminer_CFLAGS = -mavx2 -Wno-pointer-sign -Wno-pointer-to-int-cast $(disable_flags)

if HAVE_WINDOWS
cpuminer_CFLAGS += -Wl,--stack,10485760
Expand Down

0 comments on commit aeb6958

Please sign in to comment.