macOS: use march=native in build

This commit is contained in:
Jonathan Dahan 2018-10-01 14:10:53 -04:00
parent 331b5774f9
commit 9665fa845b
1 changed files with 2 additions and 1 deletions

View File

@ -74,8 +74,9 @@ CFLAGS += -D_BSD_SOURCE
# get much better results by telling it we have at least a Pentium 3
# which hass the SSE instructions.
CFLAGS += -march=core2 -msse4.1 -std=gnu99
#CFLAGS += -march=core2 -msse4.1 -std=gnu99
#CFLAGS += -march=pentium3 -sse
CFLAGS += -march=native
# Add -ffastmath in only if compiler version recognizes it.