I didn't realize that patch 0010-... brought the Makefile back to the origin, sorry. Now with patches 0010-... and 0013-... the compilation of the multibit version happens successfully; thanks. I didn't understand what the 17122023 patch brings again. The tests I did make the rendering of x265-12bit and the rendering of hevc_vaapi much faster, similar to the values I had found for the non-multibit build (again with the patch). Even the x265-hi preset is as fast as the non-multibit version. You did a great job, thank you. PS1: compile time is still just over 4 min, on my system. PS2: I report the strings I get when I apply the patches, even though they work fine: 0010-... $ patch -p2 < 0010-Update-x265-to-git-snapshot-17122023.patch patching file blds/termux.bld Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file blds/termux.bld.rej patching file configure.ac patching file thirdparty/Makefile Hunk #1 FAILED at 266. 1 out of 1 hunk FAILED -- saving rejects to file thirdparty/Makefile.rej 0013-... $ patch -p2 < 0013-Multibit-x265-patches-updated-for-x265-17122023.patch patching file thirdparty/Makefile Hunk #1 FAILED at 265. 1 out of 1 hunk FAILED -- saving rejects to file thirdparty/Makefile.rej patching file thirdparty/src/x265-17122023.patch1 patching file thirdparty/src/x265-17122023.patch2 patching file thirdparty/src/x265-17122023.patch3