mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 14:03:17 +00:00
.github: enable -Werror on FreeBSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
777baa343b
commit
005993d888
2
.github/workflows/build-xserver.yml
vendored
2
.github/workflows/build-xserver.yml
vendored
@ -233,7 +233,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
MYTOKEN : ${{ secrets.MYTOKEN }}
|
||||
MESON_ARGS: -Dprefix=/usr -Dxephyr=true -Dwerror=false -Dxcsecurity=true -Dxorg=true -Dxvfb=true -Dxnest=true -Dxfbdev=false
|
||||
MESON_ARGS: -Dprefix=/usr -Dxephyr=true -Dwerror=true -Dxcsecurity=true -Dxorg=true -Dxvfb=true -Dxnest=true -Dxfbdev=false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: run in freebsd VM
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user