mbedtls: enable deprecation warnings when building unit tests

pull/1880/merge
Ivan Grokhotkov 2018-05-08 23:51:23 +08:00
rodzic dbc919eff5
commit 7dada45d60
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -2,3 +2,7 @@
# alternative config file # alternative config file
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
# Catch usage of deprecated mbedTLS functions when building tests
ifneq ("$(TEST_COMPONENTS_LIST)","")
CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
endif