Setting -O optimization manually gives meson warnings.
Instead update meson buildtype to release
This sets debug to 0 and optimization to level 3.
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
'werror=true',
'warning_level=1',
'c_std=gnu89',
- 'cpp_std=c++14'
+ 'cpp_std=c++14',
+ 'buildtype=release'
]
)
add_project_arguments('-DMIN_CPP_VERSION=201402', language:['c','cpp'])
'-Wvla',
'-Wpointer-arith',
'-Wno-error=varargs',
- '-O2',
'-ftree-vectorize'
]