logging: v2: force LOG2_ALWAYS_RUNTIME if XCC
XCC is based on GCC 4.2.0 which doesn't support auto type. So force CONFIG_LOG2_ALWAYS_RUNTIME to be enabled if XCC is being used. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
4c3fa1b7fe
commit
e54b4faabc
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ config LOG2_ALWAYS_RUNTIME
|
|||
bool
|
||||
default y if NO_OPTIMIZATIONS
|
||||
default y if LOG_MODE_IMMEDIATE
|
||||
default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "xcc"
|
||||
help
|
||||
If enabled, runtime method is always used for message creation. Static
|
||||
creation relies on compiler being able to optimize and remove code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue