shithub: rgbds

Download patch

ref: 8e4a9a5c21bc34b25356f991423bfa5cb98f21d0
parent: a1286e6f0e3db80acf482f6904632fe87985a799
author: ISSOtm <eldredhabert0@gmail.com>
date: Sun Sep 27 13:05:52 EDT 2020

Remove assertions from release builds

I believe the CMakeLists already did that, but the Makefile did not.

--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@
 WARNFLAGS	:= -Wall
 
 # Overridable CFLAGS
-CFLAGS		?= -O3
+CFLAGS		?= -O3 -DNDEBUG
 # Non-overridable CFLAGS
 REALCFLAGS	:= ${CFLAGS} ${WARNFLAGS} -std=gnu11 -D_POSIX_C_SOURCE=200809L \
 		   -Iinclude