I was able to create Ubuntu packages on Launchpad using your source code. The 64 bit packages are built with yasm while yasm is automatically skipped for the 32 bit builds. When I open the library packages (libx265-6) I get the following warnings / error messages from Lintian:
amd64 + yasm: W: libx265-6: shlib-with-executable-stack usr/lib/x86_64-linux-gnu/libx265.so.6
i386: E: libx265-6: shlib-with-non-pic-code usr/lib/i386-linux-gnu/libx265.so.6
Here are explanations of the Lintian tags: http://lintian.debian.org/tags/shlib-with-non-pic-code.html http://lintian.debian.org/tags/shlib-with-executable-stack.html
I thought I'd let you know that.