mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-29 18:23:03 +02:00
Remove flags GCC doesn't support from meson build
This commit is contained in:
parent
eeea51c17a
commit
dde28c2c6d
1 changed files with 1 additions and 2 deletions
|
@ -80,12 +80,11 @@ endif
|
||||||
# ====================
|
# ====================
|
||||||
|
|
||||||
# Suppress warnings
|
# Suppress warnings
|
||||||
global_args += ['-Wno-non-virtual-dtor', '-Wno-reorder', '-Wno-uninitialized', '-Wno-unknown-pragmas', '-Wno-unknown-warning-option', '-Wno-deprecated-register']
|
global_args += ['-Wno-non-virtual-dtor', '-Wno-reorder', '-Wno-uninitialized', '-Wno-unknown-pragmas']
|
||||||
if compilers['cpp'].get_id() == 'clang'
|
if compilers['cpp'].get_id() == 'clang'
|
||||||
global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor']
|
global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor']
|
||||||
endif
|
endif
|
||||||
if host_system == 'windows'
|
if host_system == 'windows'
|
||||||
global_args += '-Wno-unknown-attributes'
|
|
||||||
if compilers['cpp'].get_id() != 'clang'
|
if compilers['cpp'].get_id() != 'clang'
|
||||||
global_args += '-masm=intel'
|
global_args += '-masm=intel'
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue