dev-libs/libaio: link against stdlib to pull the fortified functions #558406
authorGokturk Yuksek <gokturk@binghamton.edu>
Sun, 29 Nov 2015 01:29:51 +0000 (20:29 -0500)
committerGokturk Yuksek <gokturk@binghamton.edu>
Sat, 5 Dec 2015 21:39:13 +0000 (16:39 -0500)
commit208727cd120aff0f241c9ee0a5f033fe6b41987f
tree17530327291cdd12f9753b40317f26918549d62b
parentccff83ce305519c92b7ccbc442f869344621e21f
dev-libs/libaio: link against stdlib to pull the fortified functions #558406

When '-fstack-protector-strong' is included in CFLAGS, the function
'__stack_chk_fail_local' needs to be pulled from libc. However,
upstream uses '-nostdlib' to avoid linking against any C library or
gcc libs. Remove '-nostdlib' and '-nostartfiles' to pull the required
symbols from libc.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558406

Package-Manager: portage-2.2.20.1
dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch [new file with mode: 0644]
dev-libs/libaio/libaio-0.3.110.ebuild