summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-06 22:57:51 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-06 22:57:51 +0000
commit3f5aeee5cd6df3665968480da4cfda444c6afb01 (patch)
treeae3497375cfab847f64d8b98525ada971de8bc4a /media-libs/svgalib/svgalib-1.9.17-r3.ebuild
parentadded hardened-gcc exclude flags (diff)
downloadhistorical-3f5aeee5cd6df3665968480da4cfda444c6afb01.tar.gz
historical-3f5aeee5cd6df3665968480da4cfda444c6afb01.tar.bz2
historical-3f5aeee5cd6df3665968480da4cfda444c6afb01.zip
added hardened-gcc exclude flags
Diffstat (limited to 'media-libs/svgalib/svgalib-1.9.17-r3.ebuild')
-rw-r--r--media-libs/svgalib/svgalib-1.9.17-r3.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild
index d84f2a48f3cc..774bf11bfe19 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.3 2003/09/06 17:06:33 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.4 2003/09/06 22:57:44 pappy Exp $
inherit eutils
@@ -33,10 +33,11 @@ src_unpack() {
src_compile() {
- # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then
- CC="${CC} -yet_exec"
- fi
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]
+ then
+ CC="${CC} -yet_exec"
+ fi
make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \
die "Failed to build libraries and utils!"