Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
macOS: use march=native in build
  • Loading branch information
Jonathan Dahan committed Oct 1, 2018
commit 9665fa845ba6e971913509dee4fe31a5a885f855
3 changes: 2 additions & 1 deletion Makefile.macosx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should i re-include -std=gnu99?



# Add -ffastmath in only if compiler version recognizes it.
Expand Down