why nobody ever told me the makefile doesnt work outside x86 xD
This commit is contained in:
parent
1490cdd71d
commit
5c1920df43
1 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -36,7 +36,7 @@ CXXFLAGS = -I. -I./examples -Ofast -DNDEBUG -std=c++11 -fPIC
|
|||
LDFLAGS =
|
||||
|
||||
#lets try enabling everything
|
||||
CFLAGS += -pthread -mf16c -mfma -mavx2 -mavx -msse3
|
||||
CFLAGS += -pthread
|
||||
CXXFLAGS += -pthread
|
||||
|
||||
# OS specific
|
||||
|
@ -71,7 +71,7 @@ endif
|
|||
# feel free to update the Makefile for your architecture and send a pull request or issue
|
||||
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
|
||||
# Use all CPU extensions that are available:
|
||||
CFLAGS +=
|
||||
CFLAGS += -mf16c -mfma -mavx2 -mavx -msse3
|
||||
endif
|
||||
ifneq ($(filter ppc64%,$(UNAME_M)),)
|
||||
POWER9_M := $(shell grep "POWER9" /proc/cpuinfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue