From 149304e6518d9cec2c718a871bfd50d060527c9e Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:42:16 +0100 Subject: [PATCH] CI uses sh not bash... --- .ci/build-freebsd.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 83bdae2cb3..12a1351718 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -6,7 +6,7 @@ git config --global --add safe.directory . git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ && !/opencv/ && !/libpng/ && !/libsdl-org/ && !/curl/ && !/zlib/ && !/libusb/ && !/feralinteractive/ { print $3 }' .gitmodules) -CONFIGURE_ARGS=( +CONFIGURE_ARGS=" -DWITH_LLVM=ON -DUSE_SDL=OFF -DUSE_PRECOMPILED_HEADERS=OFF @@ -16,13 +16,14 @@ CONFIGURE_ARGS=( -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_LIBUSB=ON -DUSE_SYSTEM_OPENCV=ON -# base Clang workaround (missing clang-scan-deps) - -DCMAKE_CXX_SCAN_FOR_MODULES=OFF -DCMAKE_LINKER_TYPE=lld-devel -) +" + +# base Clang workaround (missing clang-scan-deps) +CONFIGURE_ARGS="$CONFIGURE_ARGS -DCMAKE_CXX_SCAN_FOR_MODULES=OFF" # shellcheck disable=SC2086 -cmake -B build -G Ninja ${CONFIGURE_ARGS[@]} +cmake -B build -G Ninja $CONFIGURE_ARGS cmake --build build ccache --show-stats