This is an automated email from the ASF dual-hosted git repository. kopyscinski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 0ccd12212b37ff9743d40b9fb902561b3e810373 Author: Krzysztof Kopyściński <[email protected]> AuthorDate: Fri Mar 8 07:29:01 2024 +0100 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 a42d0ea6c..a8164ac1b 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:
