mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
Fix build emulation in apple.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -95,11 +95,13 @@ ${CMAKE_CURRENT_LIST_DIR}/mbedtls/library/poly1305.c
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/mbedtls/library/ripemd160.c
|
${CMAKE_CURRENT_LIST_DIR}/mbedtls/library/ripemd160.c
|
||||||
)
|
)
|
||||||
## mbedTLS reports an stringop overflow for cmac.c
|
## mbedTLS reports an stringop overflow for cmac.c
|
||||||
set_source_files_properties(
|
if (NOT ENABLE_EMULATION OR NOT APPLE)
|
||||||
|
set_source_files_properties(
|
||||||
${CMAKE_CURRENT_LIST_DIR}/mbedtls/library/cmac.c
|
${CMAKE_CURRENT_LIST_DIR}/mbedtls/library/cmac.c
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
COMPILE_FLAGS "-Wno-error=stringop-overflow= -Wno-stringop-overflow"
|
COMPILE_FLAGS "-Wno-error=stringop-overflow= -Wno-stringop-overflow"
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
set(INCLUDES ${INCLUDES}
|
set(INCLUDES ${INCLUDES}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src
|
${CMAKE_CURRENT_LIST_DIR}/src
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src/usb
|
${CMAKE_CURRENT_LIST_DIR}/src/usb
|
||||||
|
|||||||
Reference in New Issue
Block a user