When building libaio, the compiler defaults to `cc'. This means an incorrect binary is produced if cross-compiling. The attached patch fixes this, along with a bunch of other problems: - Missing quotes on $S and $D. - Non-cross-compile-safe setting of $ARCH (emerge seems to set this correctly). - Use of make instead of emake. - Redundant dodoc COPYING.
Created attachment 134861 [details, diff] Fix issues with libaio-0.3.106-r1 as described above.
Created attachment 134863 [details, diff] Fix issues with libaio-0.3.106-r1 as described above Sorry, forgot -u on first patch.
added as -r2. Better late than never, thanks for your contribution.