[scan-build] define KEY_EXCHANGE_ECDHE_ECDSA_ENABLED to avoid warnings (#2756)

This commit is contained in:
Jonathan Hui
2018-05-29 15:16:05 -07:00
parent 74642918ad
commit 9be25a87ed
+4
View File
@@ -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 \