mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
gitlab-ci: Allow cast-align warnings from clang
This commit is contained in:
parent
a9669679f5
commit
f2392dc464
@ -125,6 +125,7 @@ cmake:linux:clang:shared:
|
||||
variables:
|
||||
BUILD_SHARED_LIBS: "ON"
|
||||
CC: clang
|
||||
CFLAGS: "-Wno-error=cast-align"
|
||||
SUFFIX: linux-clang-shared
|
||||
|
||||
cmake:linux:clang:static:
|
||||
@ -134,6 +135,7 @@ cmake:linux:clang:static:
|
||||
variables:
|
||||
BUILD_SHARED_LIBS: "OFF"
|
||||
CC: clang
|
||||
CFLAGS: "-Wno-error=cast-align"
|
||||
SUFFIX: linux-clang-static
|
||||
|
||||
.cmake:mingw:
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
CFLAGS="-Werror $CFLAGS" \
|
||||
cmake "$@" \
|
||||
-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS \
|
||||
-DCMAKE_INSTALL_PREFIX=libxml2-install \
|
||||
-DCMAKE_C_FLAGS='-Werror' \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-S . -B libxml2-build
|
||||
cmake --build libxml2-build --target install
|
||||
|
Loading…
Reference in New Issue
Block a user