summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2004-05-12 13:06:47 +0000
committerAlexander Gabert <pappy@gentoo.org>2004-05-12 13:06:47 +0000
commitc36f8ad66387ce0fbd71ad9d019798d2276d8767 (patch)
tree9f6de36f295c682c49faafd5747f15b7e084f313 /sys-devel/kgcc
parentremoved hardened-gcc logic, added logic for suppressing PIE and SSP (Manifest... (diff)
downloadgentoo-2-c36f8ad66387ce0fbd71ad9d019798d2276d8767.tar.gz
gentoo-2-c36f8ad66387ce0fbd71ad9d019798d2276d8767.tar.bz2
gentoo-2-c36f8ad66387ce0fbd71ad9d019798d2276d8767.zip
changed hardened-gcc logic to filter-flags
Diffstat (limited to 'sys-devel/kgcc')
-rw-r--r--sys-devel/kgcc/ChangeLog7
-rw-r--r--sys-devel/kgcc/Manifest4
-rw-r--r--sys-devel/kgcc/kgcc-2.95.3.ebuild9
3 files changed, 11 insertions, 9 deletions
diff --git a/sys-devel/kgcc/ChangeLog b/sys-devel/kgcc/ChangeLog
index c7d978bdac25..1683aa55e6d4 100644
--- a/sys-devel/kgcc/ChangeLog
+++ b/sys-devel/kgcc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/kgcc
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc/ChangeLog,v 1.4 2003/10/11 21:29:59 pappy Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc/ChangeLog,v 1.5 2004/05/12 13:06:47 pappy Exp $
+
+ 12 May 2004; Alexander Gabert <pappy@gentoo.org> kgcc-2.95.3.ebuild:
+ changed hardened-gcc logic to filter-flags
11 Oct 2003; Alexander Gabert <pappy@gentoo.org> kgcc-2.95.3.ebuild:
added yno_propolice flags for kgcc building due to guard symbol bailing out
diff --git a/sys-devel/kgcc/Manifest b/sys-devel/kgcc/Manifest
index 76133786f2c2..c2baaa5408cc 100644
--- a/sys-devel/kgcc/Manifest
+++ b/sys-devel/kgcc/Manifest
@@ -1,5 +1,5 @@
-MD5 7e355224bdf361847ec5bad6a4a939cd ChangeLog 754
-MD5 be804a469a17f5b2c1ff249d4188ec66 kgcc-2.95.3.ebuild 2802
+MD5 811644646a712745e206e9c212bb013a ChangeLog 871
+MD5 e79c2a391d1e0600dd0286ef2fcf0a6b kgcc-2.95.3.ebuild 2698
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 b298194887d06a1a0368293db55b7b47 files/digest-kgcc-2.95.3 69
MD5 523970c128b929fe7c7cf36508ebd1d5 files/kgcc-2.95.3-new-atexit.diff 13604
diff --git a/sys-devel/kgcc/kgcc-2.95.3.ebuild b/sys-devel/kgcc/kgcc-2.95.3.ebuild
index 2c27c7a2e41b..c66e90006280 100644
--- a/sys-devel/kgcc/kgcc-2.95.3.ebuild
+++ b/sys-devel/kgcc/kgcc-2.95.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc/kgcc-2.95.3.ebuild,v 1.5 2003/10/11 21:29:59 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc/kgcc-2.95.3.ebuild,v 1.6 2004/05/12 13:06:47 pappy Exp $
IUSE="static"
@@ -52,14 +52,13 @@ src_compile() {
local myconf=""
myconf="${myconf} --enable-languages=c --enable-shared"
+ filter-flags -fPIC -fstack-protector
+
# gcc does not like optimization
unset CFLAGS
unset CXXFLAGS
- # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- has_version "sys-devel/hardened-gcc" && CC="gcc" && export CC="${CC} -yno_propolice"
-
${S}/configure --prefix=${LOC} \
--mandir=${LOC}/share/man \
--infodir=${LOC}/share/info \