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)
(From OE-Core rev:
901af5a00338fd8f1ace939123484ea91c090a7a)
Change-Id: I5ec78dd6c6a550eba79ec60917066067acb3972d
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>