From af005d573f0c62233dd786a69df3f9edbd285190 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 28 Feb 2023 23:27:54 +0200 Subject: [PATCH] make : add -DNDEBUG compile flag --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 604ee63..15094a4 100644 --- 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