]> code.ossystems Code Review - openembedded-core.git/commit
libaio: don't disable linking to the system libraries
authorRoss Burton <ross.burton@intel.com>
Fri, 6 Nov 2015 15:30:58 +0000 (15:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Jan 2016 15:18:16 +0000 (15:18 +0000)
commit901af5a00338fd8f1ace939123484ea91c090a7a
tree9c9a85d21a1a0108214cd4559a1054681da6f071
parent1896042df8db8ec21e41d45c2640360242fb0aee
libaio: don't disable linking to the system libraries

For some reason that I don't understand (a decade-old attempt at optimisation?)
libaio disables linkage to the system libraries.  Enabling fortify means linking
to the system libraries, so remove the existing addition of -lc for x86 (the
problem also happens on at least PPC) and just link to the system libraries on
all platforms.

Also remove the sed of src/Makefile as the build not respecting LDFLAGS has been
fixed upstream.

(From OE-Core rev: f435ac9db0581d8313a38d586b00c2b3de419298)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/libaio/libaio/system-linkage.patch [new file with mode: 0644]
meta/recipes-extended/libaio/libaio_0.3.110.bb