mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
♻ update meson
This commit is contained in:
parent
196430ebcc
commit
e3e8ce9be6
@ -51,6 +51,7 @@ possible_cc_flags = [
|
|||||||
'-Wdouble-promotion', # float to double
|
'-Wdouble-promotion', # float to double
|
||||||
|
|
||||||
'-Wformat=2',
|
'-Wformat=2',
|
||||||
|
'-Wimplicit-fallthrough', # fallthrough without an explicit annotation
|
||||||
]
|
]
|
||||||
|
|
||||||
if cc.get_id() == 'gcc'
|
if cc.get_id() == 'gcc'
|
||||||
@ -60,6 +61,7 @@ if cc.get_id() == 'gcc'
|
|||||||
'-Wduplicated-cond',
|
'-Wduplicated-cond',
|
||||||
'-Wduplicated-branches',
|
'-Wduplicated-branches',
|
||||||
'-Wlogical-op',
|
'-Wlogical-op',
|
||||||
|
'-Wuseless-cast',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user