mirror of
https://github.com/espressif/esp-protocols.git
synced 2026-01-25 08:32:22 +01:00
fix(mosq): Fix mosquitto build on latest master
This commit is contained in:
@@ -6,3 +6,4 @@ Warning: Deprecated: Command 'sign_data' is deprecated. Use 'sign-data' instead.
|
||||
Warning: Deprecated: Command 'extract_public_key' is deprecated. Use 'extract-public-key' instead.
|
||||
warning: unknown kconfig symbol 'EXAMPLE_ETH_PHY_IP101'
|
||||
WARNING: The following Kconfig variables were used in "if" clauses, but not
|
||||
warning: unknown kconfig symbol 'LIBC_NEWLIB'
|
||||
|
||||
@@ -101,3 +101,5 @@ set(sources_that_define_gnu_source ${m_src_dir}/loop.c ${m_src_dir}/mux_poll.c)
|
||||
foreach(offending_src ${sources_that_define_gnu_source})
|
||||
set_source_files_properties(${offending_src} PROPERTIES COMPILE_OPTIONS "-U_GNU_SOURCE")
|
||||
endforeach()
|
||||
|
||||
set_source_files_properties(${m_src_dir}/security_default.c PROPERTIES COMPILE_OPTIONS "-Wno-char-subscripts")
|
||||
|
||||
1
components/mosquitto/examples/broker/sdkconfig.defaults
Normal file
1
components/mosquitto/examples/broker/sdkconfig.defaults
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_LIBC_NEWLIB=y
|
||||
@@ -4,3 +4,4 @@ CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=32768
|
||||
CONFIG_LWIP_SNTP_MAX_SERVERS=2
|
||||
CONFIG_MBEDTLS_SSL_PROTO_DTLS=y
|
||||
CONFIG_MBEDTLS_SSL_DTLS_SRTP=y
|
||||
CONFIG_LIBC_NEWLIB=y
|
||||
|
||||
Reference in New Issue
Block a user