summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-06 17:06:39 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-06 17:06:39 +0000
commitda07a91698dffcfb39f40a9bf94074f189c5ce1d (patch)
tree5bb27d1a2e2e2b7eb7cd8db25b0c2f543e6a15a2
parentadded hardened-gcc exclude CC flag for proper compilation (diff)
downloadgentoo-2-da07a91698dffcfb39f40a9bf94074f189c5ce1d.tar.gz
gentoo-2-da07a91698dffcfb39f40a9bf94074f189c5ce1d.tar.bz2
gentoo-2-da07a91698dffcfb39f40a9bf94074f189c5ce1d.zip
added hardened-gcc exclude CC flag for proper compilation
-rw-r--r--media-libs/svgalib/ChangeLog6
-rw-r--r--media-libs/svgalib/Manifest6
-rw-r--r--media-libs/svgalib/svgalib-1.4.3-r4.ebuild8
-rw-r--r--media-libs/svgalib/svgalib-1.9.17-r3.ebuild8
4 files changed, 22 insertions, 6 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog
index 1b0876a827ce..363c7747d00b 100644
--- a/media-libs/svgalib/ChangeLog
+++ b/media-libs/svgalib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/svgalib
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.17 2003/08/06 20:22:49 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.18 2003/09/06 17:06:33 pappy Exp $
+
+ 06 Sep 2003; Alexander Gabert <pappy@gentoo.org> svgalib-1.4.3-r4.ebuild,
+ svgalib-1.9.17-r3.ebuild:
+ added hardened-gcc exclude CC flag for proper compilation
*svgalib-1.9.17-r3 (06 Aug 2003)
diff --git a/media-libs/svgalib/Manifest b/media-libs/svgalib/Manifest
index 35c39397f176..a87b381cfe66 100644
--- a/media-libs/svgalib/Manifest
+++ b/media-libs/svgalib/Manifest
@@ -1,7 +1,7 @@
-MD5 a3e244024045d5b467302f5c1caca927 ChangeLog 3172
-MD5 e0d015fba12882be654c62e3fbd4f23a svgalib-1.4.3-r4.ebuild 2451
+MD5 df7d2bf0db01fb8f77a5724c9dc78676 ChangeLog 3171
+MD5 22a8d902f078336dc8e27a2914b5c398 svgalib-1.4.3-r4.ebuild 2450
MD5 19d55b7554e183a9972f1486d6d0cdd1 svgalib-1.9.17-r2.ebuild 2657
-MD5 581740ad5b546fd48ee5ed2e814d99d7 svgalib-1.9.17-r3.ebuild 2941
+MD5 6526af9fa06c8f6644715d7f47c57e8c svgalib-1.9.17-r3.ebuild 2940
MD5 939b8bf99fcf4fccef7d92377df90dc2 files/digest-svgalib-1.4.3-r4 115
MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r2 66
MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r3 66
diff --git a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild
index 3511d98a1bef..1caf4f029e2e 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.5 2003/08/07 03:55:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.6 2003/09/06 17:06:33 pappy Exp $
inherit eutils
@@ -27,6 +27,12 @@ src_unpack() {
}
src_compile() {
+
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then
+ CFLAGS="${CFLAGS} -yet_exec"
+ fi
+
make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die
# Build the gl stuff tpp
make OPTIMIZE="${CFLAGS}" -C gl || die
diff --git a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild
index 4e3ddd226188..d84f2a48f3cc 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.2 2003/08/07 03:55:04 vapier Exp $
+# $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 $
inherit eutils
@@ -32,6 +32,12 @@ 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
+
make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \
die "Failed to build libraries and utils!"
# Build the gl stuff tpp