aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'make.c')
-rw-r--r--make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.c b/make.c
index 3e5a4a1..117679c 100644
--- a/make.c
+++ b/make.c
@@ -62,8 +62,12 @@ static char *cflags_dbg[] = {
static char *cflags_rls[] = {
"-DNDEBUG",
"-flto",
+#ifdef __APPLE__
+ "-mcpu=native",
+#else
"-march=native",
"-mtune=native",
+#endif
"-O3",
};