mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
.github: enable -Werror on FreeBSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
777baa343b
commit
005993d888
@@ -18,6 +18,12 @@ add_project_arguments('-fno-common', language: 'c')
|
||||
add_project_arguments('-Wshift-negative-value', language: 'c')
|
||||
add_project_arguments('-Wchar-subscripts', language: 'c')
|
||||
|
||||
# workaround for mesa bug causing GLsync to be typedef'ed multiple times
|
||||
# this is breaking -Werror on FreeBSD
|
||||
if host_machine.system() == 'freebsd'
|
||||
add_project_arguments('-Wno-error=typedef-redefinition', language: 'c')
|
||||
endif
|
||||
|
||||
add_project_link_arguments('-fvisibility=hidden', language : 'c')
|
||||
|
||||
# global config data -- needs to be declared early
|
||||
|
||||
Reference in New Issue
Block a user