diff options
author | George Shapovalov <george@gentoo.org> | 2007-02-15 15:24:58 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2007-02-15 15:24:58 +0000 |
commit | c0b17844773bcf03f12be435130ddd54e578750e (patch) | |
tree | 032f0cc4b9829df9abb204d730ebda75e1520875 /eclass | |
parent | Added RESTRICT='binchecks strip' for bug #166987. (diff) | |
download | gentoo-2-c0b17844773bcf03f12be435130ddd54e578750e.tar.gz gentoo-2-c0b17844773bcf03f12be435130ddd54e578750e.tar.bz2 gentoo-2-c0b17844773bcf03f12be435130ddd54e578750e.zip |
added hardened fix from #119382
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnatbuild.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass index 3494171cbf9a..0bc5c4a2f127 100644 --- a/eclass/gnatbuild.eclass +++ b/eclass/gnatbuild.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.22 2007/02/15 13:58:19 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.23 2007/02/15 15:24:58 george Exp $ # # Author: George Shapovalov <george@gentoo.org> # Belongs to: ada herd <ada@gentoo.org> @@ -8,7 +8,7 @@ # Note: HOMEPAGE and LICENSE are set in appropriate ebuild, as # gnat is developed by FSF and AdaCore "in parallel" -inherit eutils versionator toolchain-funcs flag-o-matic multilib libtool fixheadtails gnuconfig +inherit eutils versionator toolchain-funcs flag-o-matic multilib libtool fixheadtails gnuconfig pax-utils EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_postrm src_unpack src_compile src_install @@ -340,6 +340,7 @@ gnatbuild_src_unpack() { case $1 in base_unpack) unpack ${A} + pax-mark -execstack $(find ${GNATBOOT} -name gnat1) cd ${S} # patching gcc sources, following the toolchain |