Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Meson to 1.5.0 #1424

Merged
merged 16 commits into from
Jul 18, 2024
Prev Previous commit
Next Next commit
test: manually add global arguments for snitization
jmillan committed Jul 18, 2024
commit 5307c248a0d4486b99402bd644cad30d47b30e9a
3 changes: 3 additions & 0 deletions worker/meson.build
Original file line number Diff line number Diff line change
@@ -13,6 +13,9 @@ cpp_args = [
host_machine.endian() == 'little' ? '-DMS_LITTLE_ENDIAN' : '-DMS_BIG_ENDIAN',
]

add_global_arguments('-fsanitize=address', language: 'cpp')
add_global_link_arguments('-fsanitize=address', language: 'cpp')

if host_machine.system() == 'windows'
cpp_args += [
'-DNOMINMAX', # Don't define min and max macros (windows.h)