#!/bin/bash set -euo pipefail cp $PATCH_DIR/mips32-defaults.diff debian/patches/mips/ cp $PATCH_DIR/compilerrt-mips32.diff debian/patches/compiler-rt/ patch --no-backup-if-mismatch -p1 <<'PATCH' --- a/debian/patches/series +++ b/debian/patches/series @@ -77,6 +77,7 @@ mips/mips-force-nomadd4.patch mips/mips-D101773-reloc.patch mips/syscall-mips64el-def.diff +mips/mips32-defaults.diff 26-set-correct-float-abi.diff clang-baseline-fix-i386.patch @@ -136,6 +137,7 @@ # compiler-rt compiler-rt/compilerrt-builtins-arch-fix-armhf.diff compiler-rt/compilerrt-build-scudo-standalone-option.diff +compiler-rt/compilerrt-mips32.diff # wasm patches wasm/wasm-ld-path.diff PATCH