From 0ccd12212b37ff9743d40b9fb902561b3e810373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kopy=C5=9Bci=C5=84ski?= Date: Fri, 8 Mar 2024 07:29:01 +0100 Subject: [PATCH] ext/libsamplerate: always build with DNDEBUG flag Debug build pulls assert.h and nrfx, in which PACKAGE define isi pulled from libsamplerate/serc/config.h. This is not correct behavior and these defines are not correlated. Library should be always build without asserts, circumventing the issue. Cleaned up duplicated cflags in pkg.yml. --- ext/libsamplerate/pkg.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ext/libsamplerate/pkg.yml b/ext/libsamplerate/pkg.yml index a42d0ea6c7..a8164ac1bd 100644 --- a/ext/libsamplerate/pkg.yml +++ b/ext/libsamplerate/pkg.yml @@ -26,11 +26,7 @@ pkg.keywords: pkg.type: sdk -pkg.cflags: -DHAVE_STDBOOL_H -fsingle-precision-constant -DHAVE_CONFIG_H -pkg.cflags.ENABLE_SINC_BEST_CONVERTER: -DENABLE_SINC_BEST_CONVERTER -pkg.cflags.ENABLE_SINC_MEDIUM_CONVERTER: -DENABLE_SINC_MEDIUM_CONVERTER -pkg.cflags.ENABLE_SINC_FAST_CONVERTER: -DENABLE_SINC_FAST_CONVERTER -pkg.cflags.LIBSAMPLER_NDEBUG: -DNDEBUG +pkg.cflags: -DHAVE_STDBOOL_H -fsingle-precision-constant -DHAVE_CONFIG_H -DNDEBUG pkg.lflags: -lm pkg.ign_dirs: