Skip to content

Commit

Permalink
Compile with -march=native
Browse files Browse the repository at this point in the history
  • Loading branch information
bitscher committed Jul 22, 2022
1 parent 1ca8c28 commit 42e90aa
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OBJ_FILES := $(addprefix build/, $(CPP_FILES:.cpp=.o))
LDLIBS := $(shell sdl2-config --libs)
CXXFLAGS := \
-Wall -Wextra -pedantic -Wold-style-cast -std=c++17 -g -Werror -O3 \
$(shell sdl2-config --cflags)
$(shell sdl2-config --cflags) -march=native

OUTPUT_OPTION=-MMD -MP -o $@

Expand Down
Loading

0 comments on commit 42e90aa

Please sign in to comment.