From 1a65d873c0d484fafa005c80afa6243aea5b2e08 Mon Sep 17 00:00:00 2001 From: withthelemons Date: Sat, 14 Oct 2017 15:40:41 +0200 Subject: [PATCH] Always use SSE2 It is supported on virtually all systems (except for ARM, but we don't target that yet) --- hempcoin-qt.pro | 2 +- src/makefile.unix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hempcoin-qt.pro b/hempcoin-qt.pro index 9e75943..51cada7 100644 --- a/hempcoin-qt.pro +++ b/hempcoin-qt.pro @@ -9,7 +9,7 @@ CONFIG += static CONFIG += widgets QT += core gui network widgets -DEFINES += USE_SSE2 +DEFINES += USE_SSE2 USE_SSE2_ALWAYS QMAKE_CXXFLAGS = -fpermissive diff --git a/src/makefile.unix b/src/makefile.unix index 3cd01d2..6ac9c67 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -8,7 +8,7 @@ USE_IPV6:=1 LINK:=$(CXX) ARCH:=$(system lscpu | head -n 1 | awk '{print $2}') -DEFS=-DBOOST_SPIRIT_THREADSAFE -DUSE_SSE2 +DEFS=-DBOOST_SPIRIT_THREADSAFE -DUSE_SSE2 -DUSE_SSE2_ALWAYS DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))