From fbcfc8446c77ae3f632f33cf5508f15a81c47534 Mon Sep 17 00:00:00 2001 From: Danny Daemonic Date: Sat, 29 Apr 2023 06:28:39 -0700 Subject: [PATCH] macOS fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d3cb67b7..6e779514a 100644 --- a/Makefile +++ b/Makefile @@ -203,7 +203,7 @@ build-info.h: $(GIT_INDEX) main: examples/main/main.cpp build-info.h ggml.o llama.o common.o $(OBJS) - $(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS) + $(CXX) $(CXXFLAGS) $(filter-out build-info.h,$^) -o $@ $(LDFLAGS) @echo @echo '==== Run ./main -h for help. ====' @echo