649b6bcfe8
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>
25 lines
916 B
BlitzBasic
25 lines
916 B
BlitzBasic
SUMMARY = "Asynchronous I/O library"
|
|
DESCRIPTION = "Asynchronous input/output library that uses the kernels native interface"
|
|
HOMEPAGE = "http://lse.sourceforge.net/io/aio.html"
|
|
|
|
LICENSE = "LGPLv2.1+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
|
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \
|
|
file://generic-arch-dectection-for-padding-defines.patch \
|
|
file://00_arches.patch \
|
|
file://destdir.patch \
|
|
file://libaio_fix_for_x32.patch \
|
|
file://libaio_fix_for_mips_syscalls.patch \
|
|
file://system-linkage.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8"
|
|
SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e"
|
|
|
|
EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
|
|
|
|
do_install () {
|
|
oe_runmake install DESTDIR=${D}
|
|
}
|