1
0

Add link to knowledge base.

This commit is contained in:
peterbell10 2017-08-17 15:08:35 +01:00 committed by Tiger Wang
parent 217a4b3296
commit af1a0188ec

View File

@ -108,6 +108,8 @@ macro(set_flags)
endif()
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm")
# mbed TLS uses the frame pointer's register in inline assembly:
# https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fomit-frame-pointer")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fomit-frame-pointer")
endif()