ci: more crappy mingw workarounds
This commit is contained in:
parent
a49b0c65ec
commit
af9577ccea
|
@ -48,6 +48,7 @@ case "${expected_triplet}" in
|
||||||
# hack around std::mutex not existing with the default
|
# hack around std::mutex not existing with the default
|
||||||
export CC="${CC}-posix"
|
export CC="${CC}-posix"
|
||||||
export CXX="${CXX}-posix"
|
export CXX="${CXX}-posix"
|
||||||
|
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
qemu_cpu="x86_64"
|
qemu_cpu="x86_64"
|
||||||
|
@ -175,6 +176,9 @@ cpu_family = '${meson_cpu_family}'
|
||||||
cpu = '${meson_cpu}'
|
cpu = '${meson_cpu}'
|
||||||
endian = '${meson_endian}'
|
endian = '${meson_endian}'
|
||||||
EOF
|
EOF
|
||||||
|
if [ -n "$LDFLAGS" ]; then
|
||||||
|
echo "cpp_link_args = ${LDFLAGS}" >> crossfile
|
||||||
|
fi
|
||||||
args="${args} --cross-file=crossfile"
|
args="${args} --cross-file=crossfile"
|
||||||
fi
|
fi
|
||||||
if [ -n "$BUILDTYPE" ]; then
|
if [ -n "$BUILDTYPE" ]; then
|
||||||
|
|
Loading…
Reference in a new issue