From f67a56b830e83b68b67cc5fc8927f541c9b1fcab Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 27 Sep 2022 15:13:02 +0200 Subject: ci/mingw64: refresh build scripts - newer library versions - use libplacebo submodules - prefer meson where possible - fix minor details --- ci/build-mingw64.sh | 77 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 43 insertions(+), 34 deletions(-) (limited to 'ci') diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index 0647376b14..5daf6979f4 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -6,7 +6,7 @@ ln -snf . "$prefix_dir/usr" ln -snf . "$prefix_dir/local" wget="wget -nc --progress=bar:force" -gitclone="git clone --depth=10" +gitclone="git clone --depth=10 --recursive" commonflags="--disable-static --enable-shared" export PKG_CONFIG_SYSROOT_DIR="$prefix_dir" @@ -22,19 +22,23 @@ export RANLIB=$TARGET-ranlib export CFLAGS="-O2 -pipe -Wall -D_FORTIFY_SOURCE=2" export LDFLAGS="-fstack-protector-strong" -cat > "${prefix_dir}/crossfile" << EOF +fam=x86_64 +[[ "$TARGET" == "i686-"* ]] && fam=x86 +cat >"$prefix_dir/crossfile" <