diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcf20cfb..0a7fdf19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,7 +186,7 @@ jobs: - name: meson run: | meson --version - meson setup build -Dantize-address=true + meson setup build -Dsanitize-address=true env: CXX: clang++ - name: build diff --git a/meson.build b/meson.build index aa8e1efd..303b7c70 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project('iptux', 'cpp', version: '0.9.1', default_options: ['warning_level=3', 'cpp_std=c++14']) add_global_arguments('-Werror=format', language : 'cpp') -if get_option('santinize-address') +if get_option('sanitize-address') add_project_arguments('-fsanitize=address', language: 'cpp') add_project_link_arguments('-fsanitize=address', language: 'cpp') endif diff --git a/meson_options.txt b/meson_options.txt index fe91d911..552c19ee 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -20,7 +20,7 @@ option( ) option( - 'santinize-address', + 'sanitize-address', type: 'boolean', value: 'false', description: 'enable -fsanitize=address compile/link flag',