mirror of https://github.com/wb2osz/direwolf.git
macOS: use march=native in build
This commit is contained in:
parent
331b5774f9
commit
9665fa845b
|
@ -74,8 +74,9 @@ CFLAGS += -D_BSD_SOURCE
|
||||||
# get much better results by telling it we have at least a Pentium 3
|
# get much better results by telling it we have at least a Pentium 3
|
||||||
# which hass the SSE instructions.
|
# 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=pentium3 -sse
|
||||||
|
CFLAGS += -march=native
|
||||||
|
|
||||||
|
|
||||||
# Add -ffastmath in only if compiler version recognizes it.
|
# Add -ffastmath in only if compiler version recognizes it.
|
||||||
|
|
Loading…
Reference in New Issue