Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing committed Jun 8, 2024
1 parent 0e97f6f commit c36c4ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ option(
)

option(
'santinize-address',
'sanitize-address',
type: 'boolean',
value: 'false',
description: 'enable -fsanitize=address compile/link flag',
Expand Down

0 comments on commit c36c4ea

Please sign in to comment.