diff options
author | Victorien Le Couviour--Tuffet <victorien@videolan.org> | 2019-07-02 14:35:47 +0300 |
---|---|---|
committer | Victorien Le Couviour--Tuffet <victorien@videolan.org> | 2019-07-02 15:02:40 +0300 |
commit | beda6e0d1c37f06e4e03f7ebe13311bd8b18245e (patch) | |
tree | a71734ebfa8f33f58a68287796e13dc6fabd9798 /meson.build | |
parent | c9f19b1f41a962f549dd75c5c1b925f148c9ea8f (diff) |
build: fix meson deprecation warning
'build_' prefix is reserved by meson, this will become an error in the
future, as indicated by a warning when configuring the build dir.
Closes #285.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index c58e602..2ac98d6 100644 --- a/meson.build +++ b/meson.build @@ -61,7 +61,7 @@ foreach bitdepth : ['8', '16'] endforeach # ASM option -is_asm_enabled = (get_option('build_asm') == true and +is_asm_enabled = (get_option('enable_asm') == true and (host_machine.cpu_family().startswith('x86') or host_machine.cpu_family() == 'aarch64' or host_machine.cpu_family().startswith('arm') or @@ -69,7 +69,7 @@ is_asm_enabled = (get_option('build_asm') == true and cdata.set10('HAVE_ASM', is_asm_enabled) if is_asm_enabled and get_option('b_sanitize') == 'memory' - error('asm causes false positive with memory sanitizer. Use \'-Dbuild_asm=false\'.') + error('asm causes false positive with memory sanitizer. Use \'-Denable_asm=false\'.') endif # Logging option |