diff options
author | Alexander Gabert <pappy@gentoo.org> | 2003-10-10 18:51:34 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2003-10-10 18:51:34 +0000 |
commit | fcae657442eb7fd041b440b5123d3daf769226d3 (patch) | |
tree | 96a2b826e0e76735405544bee77922408762f90a /sys-fs/devfsd/devfsd-1.3.25-r3.ebuild | |
parent | changed hardened-gcc flags (diff) | |
download | gentoo-2-fcae657442eb7fd041b440b5123d3daf769226d3.tar.gz gentoo-2-fcae657442eb7fd041b440b5123d3daf769226d3.tar.bz2 gentoo-2-fcae657442eb7fd041b440b5123d3daf769226d3.zip |
changed hardened-gcc flags
Diffstat (limited to 'sys-fs/devfsd/devfsd-1.3.25-r3.ebuild')
-rw-r--r-- | sys-fs/devfsd/devfsd-1.3.25-r3.ebuild | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild b/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild index 19fb03b5d892..a126e52a4b2f 100644 --- a/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild +++ b/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild,v 1.2 2003/10/09 19:51:36 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/devfsd-1.3.25-r3.ebuild,v 1.3 2003/10/10 18:49:04 pappy Exp $ IUSE="" @@ -21,21 +21,8 @@ src_unpack() { unpack ${A} # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode - if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ] && has_version "sys-devel/hardened-gcc" - then - append-flags "-yet_exec -fstack-protector" - fi - - if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc' - then - append-flags "-yet_exec" - fi - - if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc' - then - append-flags "-yet_exec" - fi - + has_version "sys-devel/hardened-gcc" && append-flags "-yet_exec" + cd ${S} cp GNUmakefile GNUmakefile.orig sed -e "s:-O2:${CFLAGS}:g" \ |