Commit 0b7be94f authored by Marvin Scholz's avatar Marvin Scholz
Browse files

Build: Fix meson build with meson 0.47.x

Once meson 0.48 is required, this should be changed back to use the
optimization option instead. (See #1)
parent dc2e1783
......@@ -119,7 +119,8 @@ elif cc.has_function('_aligned_malloc', prefix: '#include <malloc.h>')
cdata.set('HAVE_ALIGNED_MALLOC', 1)
if get_option('optimization') != '0'
if (get_option('buildtype') != 'debug' and
get_option('buildtype') != 'plain')
add_project_arguments('-fomit-frame-pointer', '-ffast-math',
language: 'c')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment