diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-19 17:08:30 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-19 17:08:30 +0200 |
commit | 3f43d8d3a25c316a329baceab22b2c7d78642f2b (patch) | |
tree | f59a634484a737abf77ee168f672d2b64a5411f9 | |
parent | 79c3996e5f2259152696230be4115dfc1e3d8ed6 (diff) |
Don’t use -march and -mtune on Apple
-rw-r--r-- | make.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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", }; |