Skip to content

Commit

Permalink
make : fix missing -O3
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 26, 2024
1 parent dc8cc2d commit 0a55a70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ ifdef WHISPER_DEBUG
MK_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
endif
else
MK_CPPFLAGS += -DNDEBUG
MK_CPPFLAGS += -DNDEBUG
MK_CFLAGS += -O3
MK_CXXFLAGS += -O3
MK_NVCCFLAGS += -O3
endif

ifdef WHISPER_SANITIZE_THREAD
Expand Down

0 comments on commit 0a55a70

Please sign in to comment.