mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
build: Fix logic bug determining whether running with optimization
The conversion from ternary to a 'if' clause was wrong and thus didn't
properly increase the stack size where needed but only where not
actually needed.
Fixes: b68faa99d9
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
d9c04cdc34
commit
c2e6897e54
@ -255,7 +255,7 @@ if cc.get_id() == 'clang' and get_option('optimization') == '0'
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# sanitizer instrumentation may enlarge stack frames
|
# sanitizer instrumentation may enlarge stack frames
|
||||||
if get_option('b_sanitize') == 'none'
|
if get_option('b_sanitize') != 'none'
|
||||||
stack_frame_size = 32768
|
stack_frame_size = 32768
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user