summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-10-10 18:33:09 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-10-10 18:33:09 +0000
commit9e061e3d86e67b2bd242ed1346916641c8980b6b (patch)
treef70010bd153f341820e845dd63ccacd3dcc01a31 /media-libs/svgalib/svgalib-1.4.3-r4.ebuild
parentflags not needed any more, hardened-gcc propolice behaviour will be changed i... (diff)
downloadgentoo-2-9e061e3d86e67b2bd242ed1346916641c8980b6b.tar.gz
gentoo-2-9e061e3d86e67b2bd242ed1346916641c8980b6b.tar.bz2
gentoo-2-9e061e3d86e67b2bd242ed1346916641c8980b6b.zip
flags not needed any more, hardened-gcc propolice behaviour will be changed in 2.4.3
Diffstat (limited to 'media-libs/svgalib/svgalib-1.4.3-r4.ebuild')
-rw-r--r--media-libs/svgalib/svgalib-1.4.3-r4.ebuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild
index d4da67d52de0..0b957ce8061a 100644
--- a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild
+++ b/media-libs/svgalib/svgalib-1.4.3-r4.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/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.9 2003/10/09 19:33:28 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.10 2003/10/10 18:33:04 pappy Exp $
inherit eutils
@@ -27,21 +27,8 @@ src_unpack() {
}
src_compile() {
- # 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
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode
+ has_version "sys-devel/hardened-gcc" && append-flags "-yet_exec"
make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
# Build the gl stuff tpp