diff options
author | Michael Marineau <marineam@gentoo.org> | 2007-07-09 23:33:17 +0000 |
---|---|---|
committer | Michael Marineau <marineam@gentoo.org> | 2007-07-09 23:33:17 +0000 |
commit | cecd1ee6f766f88b0867bb25ecc1c07e571efff5 (patch) | |
tree | a918ded96cdc1215f829e27d8895b086fc5af044 /app-emulation | |
parent | Version bump #184707 by Claes Mogren. (diff) | |
download | gentoo-2-cecd1ee6f766f88b0867bb25ecc1c07e571efff5.tar.gz gentoo-2-cecd1ee6f766f88b0867bb25ecc1c07e571efff5.tar.bz2 gentoo-2-cecd1ee6f766f88b0867bb25ecc1c07e571efff5.zip |
Xen 3.0.4 handles hardened flags, remove extra logic from the ebuild.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xen/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.4_p1.ebuild | 10 |
2 files changed, 6 insertions, 10 deletions
diff --git a/app-emulation/xen/ChangeLog b/app-emulation/xen/ChangeLog index adf1aff37ee2..3ce8e518a6e1 100644 --- a/app-emulation/xen/ChangeLog +++ b/app-emulation/xen/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/xen # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.45 2007/06/25 22:27:57 marineam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.46 2007/07/09 23:33:17 marineam Exp $ + + 09 Jul 2007; Michael Marineau <marineam@gentoo.org> xen-3.0.4_p1.ebuild: + It turns out that xen 3.0.4 correctly handles hardened flags, remove useless + code from the ebuild. 25 Jun 2007; Michael Marineau <marineam@gentoo.org> xen-3.0.4_p1.ebuild: Fix typo in -fno-pie flag. diff --git a/app-emulation/xen/xen-3.0.4_p1.ebuild b/app-emulation/xen/xen-3.0.4_p1.ebuild index faaa18c70be3..a1d024d1ba12 100644 --- a/app-emulation/xen/xen-3.0.4_p1.ebuild +++ b/app-emulation/xen/xen-3.0.4_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.4_p1.ebuild,v 1.2 2007/06/25 22:27:57 marineam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.4_p1.ebuild,v 1.3 2007/07/09 23:33:17 marineam Exp $ inherit mount-boot flag-o-matic @@ -51,14 +51,6 @@ src_unpack() { -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \ -i {} \; fi - - # xen tries to be smart and filter out CFLAGs not supported by gcc. - # It doesn't handle no* flags though, but flag-o-matic's test-flag-CC does. - for FLAG in -fno-pie -fno-stack-protector -fno-stack-protector-all; do - test-flag-CC ${FLAG} && HARDFLAGS="${HARDFLAGS} ${FLAG}" - done - sed -i "s/^CFLAGS-y.*__XEN__.*$/& ${HARDFLAGS}/" \ - "${S}"/xen/Rules.mk } src_compile() { |