commit e819f0c62b4cbf6e13e768d28b60140109cb8e13 parent 7500a118cf591f8ba1bd9e2352ca06c96b13e7b1 Author: bsandro <email@bsandro.tech> Date: Sun, 7 Dec 2025 19:21:41 +0200 fix makefile Diffstat:
| M | Makefile | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -4,8 +4,10 @@ CFLAGS=-O3 -std=c99 -Werror -Wall -Wextra -ffast-math -flto -I. UNAME:=$(shell uname -m) ifeq ($(UNAME),riscv64) CFLAGS+=-mtune=sifive-u74 +else ifeq ($(UNAME),Power Macintosh) +CFLAGS+=-mtune=native else -CFLAGS+=-mtune=native -march=native +CFLAGS+=-march=native endif LDFLAGS=-lc -lm