mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 16:30:50 +02:00
ci: make linker warnings fatal
... excluding the warning for emitting a LOAD segment with RWX permissions for libglapi, an issue which has persisted for some time. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33137>
This commit is contained in:
parent
4c3d2af001
commit
439408229b
2 changed files with 6 additions and 2 deletions
|
|
@ -840,6 +840,10 @@ debian-x86_32:
|
|||
EXTRA_OPTION: >
|
||||
-D vulkan-layers=device-select,overlay
|
||||
-D mesa-clc=system
|
||||
C_LINK_ARGS: >
|
||||
-Wl,--no-warn-rwx-segments
|
||||
CPP_LINK_ARGS: >
|
||||
-Wl,--no-warn-rwx-segments
|
||||
HOST_BUILD_OPTIONS: >
|
||||
-D build-tests=false
|
||||
-D enable-glcpp-tests=false
|
||||
|
|
|
|||
|
|
@ -172,9 +172,9 @@ meson setup _build \
|
|||
-D buildtype=${BUILDTYPE:?} \
|
||||
-D build-tests=${RUN_MESON_TESTS} \
|
||||
-D c_args="$(echo -n $C_ARGS)" \
|
||||
-D c_link_args="$(echo -n $C_LINK_ARGS)" \
|
||||
-D c_link_args="$(echo -n $C_LINK_ARGS) -Wl,--fatal-warnings" \
|
||||
-D cpp_args="$(echo -n $CPP_ARGS)" \
|
||||
-D cpp_link_args="$(echo -n $CPP_LINK_ARGS)" \
|
||||
-D cpp_link_args="$(echo -n $CPP_LINK_ARGS) -Wl,--fatal-warnings" \
|
||||
-D enable-glcpp-tests=false \
|
||||
-D libunwind=${UNWIND} \
|
||||
${DRI_LOADERS} \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue