mirror of
https://github.com/yshui/picom.git
synced 2024-11-03 04:33:49 -05:00
meson: silence unsigned shift overflow
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
51edc1bc55
commit
65452048cf
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ if get_option('sanitize')
|
|||
if cc.has_argument('-fno-sanitize=unsigned-integer-overflow')
|
||||
add_global_arguments('-fno-sanitize=unsigned-integer-overflow', language: 'c')
|
||||
endif
|
||||
if cc.has_argument('-fno-sanitize=unsigned-shift-base')
|
||||
# uthash does a lot of this
|
||||
add_global_arguments('-fno-sanitize=unsigned-shift-base', language: 'c')
|
||||
endif
|
||||
endif
|
||||
|
||||
if get_option('llvm_coverage')
|
||||
|
|
Loading…
Reference in a new issue