dev-libs/efl: fix builds on PaX kernels #547076
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Oct 2015 14:37:05 +0000 (10:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 21 Oct 2015 14:39:02 +0000 (10:39 -0400)
commit1cf76519807150b1b42c16349e856afeeee37a68
tree97f30e465e4ab629da96e59e1477e2722b36ce1a
parentb95c7dc6904efdea1b1bf7d55d2767759fa799be
dev-libs/efl: fix builds on PaX kernels #547076

The luajit code modifies its mappings at runtime as it jit-compiles code
and then executes it.  The efl build process creates a lua tool (named
elua) and then executes it to compile other efl code.  This fails under
PaX kernels by default.

Hack the src_compile in this situations to build up elua first, tweak
the PaX file marks on the new binary, and then resume the compilation.
dev-libs/efl/efl-1.15.2.ebuild