fix make tools for linux

This commit is contained in:
Concedo 2025-01-03 11:39:23 +08:00
parent 8de44d1e41
commit 22fd7a0439

View file

@ -94,10 +94,10 @@ OBJS_SIMPLE += ggml-alloc.o ggml-cpu-traits.o ggml-quants_noavx2.o ggml-cpu-quan
OBJS_FAILSAFE += ggml-alloc.o ggml-cpu-traits.o ggml-quants_failsafe.o ggml-cpu-quants_failsafe.o ggml-cpu-aarch64_failsafe.o unicode.o unicode-data.o ggml-threading.o ggml-cpu-cpp.o sgemm_failsafe.o common.o sampling.o
# OS specific
# TODO: support Windows
ifeq ($(UNAME_S),Linux)
CFLAGS += -pthread
CXXFLAGS += -pthread
LDFLAGS += -ldl
endif
ifeq ($(UNAME_S),Darwin)