shithub: libsamplerate

Download patch

ref: e209349a67703e60b260c5b42f6d149cb5421dbb
parent: 41f181de82b6bc594c2b514a39b9ae1f473985c1
author: Alexander Grund <alexander.grund@tu-dresden.de>
date: Tue Aug 27 12:24:52 EDT 2019

Add NDEBUG in autotools

Disables all assertions. Added when -O2 is added.

--- a/configure.ac
+++ b/configure.ac
@@ -223,7 +223,7 @@
 dnl  Compiler stuff.
 
 AS_IF([test "x$enable_flags_setting" = "xyes"], [
-		AX_APPEND_COMPILE_FLAGS([-DHAVE_CONFIG_H -O2 -pipe], [CFLAGS])
+		AX_APPEND_COMPILE_FLAGS([-DHAVE_CONFIG_H -O2 -pipe -DNDEBUG], [CFLAGS])
 
 		AS_CASE([${host_os}],
 			[darwin*], [