aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'make.c')
-rw-r--r--make.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/make.c b/make.c
index 8ddd72c..dfbe7bd 100644
--- a/make.c
+++ b/make.c
@@ -8,8 +8,12 @@
#include "cbs.h"
-#define CC "cc"
-#define CFLAGS "-pipe", "-O3", "-march=native", "-mtune=native"
+#define CC "cc"
+#ifdef __APPLE__
+# define CFLAGS "-pipe", "-O3"
+#else
+# define CFLAGS "-pipe", "-O3", "-march=native", "-mtune=native"
+#endif
#define DFLAGS "-DGRAB_DEBUG", "-g", "-ggdb3"
#define WFLAGS "-Wall", "-Wextra", "-Werror", "-Wpedantic"
#define PREFIX "/usr/local"