Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
CXX = g++

ARCH := $(shell uname -m)

CXXFLAGS = -std=c++11 -O3 -DEVIDENCE_SR -DEVIDENCE_PARS -DNDEBUG -W -pipe -Wundef -Winline -Wall

ifneq (,$(filter $(ARCH),x86_64 amd64 i386 i686))
CXXFLAGS += -mfpmath=sse -msse -msse2 -msse3 --param large-function-growth=100000
endif

CXXFLAGS = -std=c++11 -O3 -mfpmath=sse -msse -msse2 -msse3 -DEVIDENCE_SR -DEVIDENCE_PARS \
-DNDEBUG -W -pipe -Wundef -Winline --param large-function-growth=100000 -Wall
ICCFLAGS = -O3 -xCORE-AVX-I -Wall

LINKFLAGS = -lm
Expand Down