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.
This commit is contained in:
Krzysztof Kopyściński
2024-03-11 11:42:49 +01:00
committed by Krzysztof Kopyściński
parent 253f5901b6
commit 0ccd12212b
+1 -5
View File
@@ -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: