From 8e4a9a5c21bc34b25356f991423bfa5cb98f21d0 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 27 Sep 2020 17:05:52 +0200 Subject: [PATCH] Remove assertions from release builds I believe the CMakeLists already did that, but the Makefile did not. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 172fc69c..f7f82459 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null` WARNFLAGS := -Wall # Overridable CFLAGS -CFLAGS ?= -O3 +CFLAGS ?= -O3 -DNDEBUG # Non-overridable CFLAGS REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 -D_POSIX_C_SOURCE=200809L \ -Iinclude