1
0
Fork 0
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:
Yuxuan Shui 2024-06-28 18:17:34 +01:00
parent 51edc1bc55
commit 65452048cf
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -34,6 +34,10 @@ if get_option('sanitize')
if cc.has_argument('-fno-sanitize=unsigned-integer-overflow') if cc.has_argument('-fno-sanitize=unsigned-integer-overflow')
add_global_arguments('-fno-sanitize=unsigned-integer-overflow', language: 'c') add_global_arguments('-fno-sanitize=unsigned-integer-overflow', language: 'c')
endif 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 endif
if get_option('llvm_coverage') if get_option('llvm_coverage')