Remove flags GCC doesn't support from meson build

This commit is contained in:
Struma 2021-01-08 09:59:39 -05:00 committed by Roza
parent eeea51c17a
commit dde28c2c6d

View file

@ -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