]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
make : add -DNDEBUG compile flag
authorGeorgi Gerganov <redacted>
Tue, 28 Feb 2023 21:27:54 +0000 (23:27 +0200)
committerGeorgi Gerganov <redacted>
Tue, 28 Feb 2023 21:27:54 +0000 (23:27 +0200)
Makefile

index 604ee637eca4980c8b031e0b2beeda8b084cde95..15094a4bd4e503630b2f215a154237954d7cd94b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,8 @@ endif
 # Compile flags
 #
 
-CFLAGS   = -I.              -O3 -std=c11   -fPIC
-CXXFLAGS = -I. -I./examples -O3 -std=c++11 -fPIC
+CFLAGS   = -I.              -O3 -DNDEBUG -std=c11   -fPIC
+CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
 LDFLAGS  =
 
 # OS specific