Skip to content

Commit

Permalink
Add -mavx2 and CFLAGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Nov 4, 2020
1 parent 0b39efc commit dd9fa9b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,17 @@ ifeq ($(origin CXXFLAGS), undefined)
CXXFLAGS += -Wno-deprecated-declarations
CXXFLAGS += -Wno-format-truncation
CXXFLAGS += -std=c++11
CXXFLAGS += -mavx2

CFLAGS += -Wall -Wextra -Wformat
CFLAGS += -Wno-char-subscripts
CFLAGS += -Wno-sign-compare
CFLAGS += -Wno-unused-function
CFLAGS += -Wno-unused-parameter
CFLAGS += -Wno-unused-variable
CFLAGS += -Wno-deprecated-declarations
CFLAGS += -Wno-format-truncation
CFLAGS += -mavx2
else
CXXFLAGSUSER := ${CXXFLAGS}
endif
Expand Down

0 comments on commit dd9fa9b

Please sign in to comment.