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
commitb789c4dad20cae521b56e3c11ee21a34e6f8dd7b (patch)
tree47ef0494f21a80a058672c38c170cc02c0f91b16 /media-libs/svgalib/svgalib-1.9.17-r3.ebuild
parentflags not needed any more, hardened-gcc propolice behaviour will be changed i... (diff)
downloadhistorical-b789c4dad20cae521b56e3c11ee21a34e6f8dd7b.tar.gz
historical-b789c4dad20cae521b56e3c11ee21a34e6f8dd7b.tar.bz2
historical-b789c4dad20cae521b56e3c11ee21a34e6f8dd7b.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.9.17-r3.ebuild')
-rw-r--r--media-libs/svgalib/svgalib-1.9.17-r3.ebuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild
index c0ceffa7918c..2a963dc0264d 100644
--- a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.17-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/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.6 2003/10/09 19:33:28 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.7 2003/10/10 18:33:04 pappy Exp $
inherit eutils
@@ -32,21 +32,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
- CC="${CC} -yet_exec -fstack-protector"
- fi
-
- if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc'
- then
- CC="${CC} -yet_exec"
- fi
-
- if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc'
- then
- CC="${CC} -yet_exec"
- fi
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode
+ has_version "sys-devel/hardened-gcc" && CC="${CC} -yet_exec"
make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \
die "Failed to build libraries and utils!"