build: fix defining CONFIG_LOG when logging is disabled

Removes compilation warnings about CONFIG_LOG not being defined.
parent 80e1d0cd
......@@ -71,9 +71,7 @@ if is_asm_enabled and get_option('b_sanitize') == 'memory'
endif
# Logging option
if get_option('logging')
cdata.set('CONFIG_LOG', 1)
endif
cdata.set10('CONFIG_LOG', get_option('logging'))
#
# OS/Compiler checks and defines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment