make : fix missing -O3

same as https://github.com/ggerganov/llama.cpp/pull/8143
This commit is contained in:
Georgi Gerganov 2024-06-26 21:20:45 +03:00
parent dc8cc2dd6f
commit 0a55a70b9b
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -252,6 +252,9 @@ ifdef WHISPER_DEBUG
endif
else
MK_CPPFLAGS += -DNDEBUG
MK_CFLAGS += -O3
MK_CXXFLAGS += -O3
MK_NVCCFLAGS += -O3
endif
ifdef WHISPER_SANITIZE_THREAD