mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 05:57:53 +00:00
meson.build: disable suggest-attribute=format warning on mingw32
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
8e872d69be
commit
1e66e2e02d
@ -24,6 +24,12 @@ if host_machine.system() == 'freebsd'
|
||||
add_project_arguments('-Wno-error=typedef-redefinition', language: 'c')
|
||||
endif
|
||||
|
||||
# workaround for mingw32 bug, which is demanding gnu_print attribute
|
||||
# while not actually understanding it
|
||||
if host_machine.system() == 'windows'
|
||||
add_project_arguments('-Wno-error=suggest-attribute=format', language: 'c')
|
||||
endif
|
||||
|
||||
add_project_link_arguments('-fvisibility=hidden', language : 'c')
|
||||
|
||||
# global config data -- needs to be declared early
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user