File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ ifdef LLAMA_SERVER_VERBOSE
79
79
CXXFLAGS += -DSERVER_VERBOSE=$(LLAMA_SERVER_VERBOSE)
80
80
endif
81
81
82
+ ifdef LLAMA_DISABLE_LOGS
83
+ CFLAGS += -DLOG_DISABLE_LOGS
84
+ CXXFLAGS += -DLOG_DISABLE_LOGS
85
+ endif # LLAMA_DISABLE_LOGS
86
+
82
87
# warnings
83
88
CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \
84
89
-Wmissing-prototypes -Werror=implicit-int
@@ -343,11 +348,6 @@ k_quants.o: k_quants.c k_quants.h
343
348
$(CC ) $(CFLAGS ) -c $< -o $@
344
349
endif # LLAMA_NO_K_QUANTS
345
350
346
- ifdef LLAMA_DISABLE_LOGS
347
- CFLAGS += -DLOG_DISABLE_LOGS
348
- CXXFLAGS += -DLOG_DISABLE_LOGS
349
- endif # LLAMA_DISABLE_LOGS
350
-
351
351
#
352
352
# Print build information
353
353
#
You can’t perform that action at this time.
0 commit comments