gcc: Add support for grsecurity

This commit is contained in:
Ricardo M. Correia
2014-05-15 13:25:47 +02:00
parent f9cd53ba18
commit 06725e95eb
3 changed files with 13 additions and 3 deletions
@@ -239,6 +239,11 @@ postInstall() {
fi
done
# Disable RANDMMAP on grsec, which causes segfaults when using
# precompiled headers.
# See https://bugs.gentoo.org/show_bug.cgi?id=301299#c31
paxmark r $out/libexec/gcc/*/*/{cc1,cc1plus}
eval "$postInstallGhdl"
}