From 9665fa845ba6e971913509dee4fe31a5a885f855 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Mon, 1 Oct 2018 14:10:53 -0400 Subject: [PATCH] macOS: use march=native in build --- Makefile.macosx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.macosx b/Makefile.macosx index c4d2d60..2aca917 100644 --- a/Makefile.macosx +++ b/Makefile.macosx @@ -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.