mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[scan-build] define KEY_EXCHANGE_ECDHE_ECDSA_ENABLED to avoid warnings (#2756)
This commit is contained in:
@@ -42,6 +42,10 @@ set -x
|
||||
|
||||
[ $BUILD_TARGET != scan-build ] || {
|
||||
./bootstrap || die
|
||||
|
||||
# avoids "third_party/mbedtls/repo/library/ssl_srv.c:2904:9: warning: Value stored to 'p' is never read"
|
||||
export CPPFLAGS=-DMBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||
|
||||
scan-build ./configure \
|
||||
--enable-cli-app=all \
|
||||
--enable-ncp-app=all \
|
||||
|
||||
Reference in New Issue
Block a user