forked from enlightenment/efl
build: use meson warning_level to pass -Wall to compiler
meson has a builtin option to pass some warning flags to compiler. 'warning_level=1' passes -Wall Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12315
This commit is contained in:
parent
107b19d427
commit
0a1ae11586
|
@ -1,6 +1,6 @@
|
|||
project('efl', ['c','cpp'],
|
||||
version: '1.26.99',
|
||||
default_options : ['buildtype=plain', 'cpp_std=c++11'],
|
||||
default_options : ['buildtype=plain', 'warning_level=1', 'cpp_std=c++11'],
|
||||
meson_version : '>=0.50'
|
||||
)
|
||||
|
||||
|
@ -73,7 +73,6 @@ local_scripts = join_paths('src', 'scripts')
|
|||
dev_cflags = []
|
||||
dev_cflags_try = [
|
||||
'-fvisibility=hidden',
|
||||
'-Wall',
|
||||
'-Wfloat-compare',
|
||||
'-Wpointer-arith',
|
||||
'-Wunused-parameter',
|
||||
|
|
Loading…
Reference in New Issue