summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-10-10 18:39:44 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-10-10 18:39:44 +0000
commit0d2cf98408addfb2a69516b6f990c1029e2fbcdb (patch)
tree4dd059f295d40df09f8fa683eb0af08c0ddcfe6d /sys-apps/modutils/modutils-2.4.25.ebuild
parentfilter-flags -fPIC will introduce -yet_exec for hardened-gcc (diff)
downloadhistorical-0d2cf98408addfb2a69516b6f990c1029e2fbcdb.tar.gz
historical-0d2cf98408addfb2a69516b6f990c1029e2fbcdb.tar.bz2
historical-0d2cf98408addfb2a69516b6f990c1029e2fbcdb.zip
filter-flags -fPIC will introduce -yet_exec for hardened-gcc
Diffstat (limited to 'sys-apps/modutils/modutils-2.4.25.ebuild')
-rw-r--r--sys-apps/modutils/modutils-2.4.25.ebuild19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys-apps/modutils/modutils-2.4.25.ebuild b/sys-apps/modutils/modutils-2.4.25.ebuild
index 5605c99ca83b..b1e84323501a 100644
--- a/sys-apps/modutils/modutils-2.4.25.ebuild
+++ b/sys-apps/modutils/modutils-2.4.25.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/sys-apps/modutils/modutils-2.4.25.ebuild,v 1.17 2003/10/09 19:10:16 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.25.ebuild,v 1.18 2003/10/10 18:38:37 pappy Exp $
inherit flag-o-matic
@@ -22,23 +22,6 @@ src_unpack() {
src_compile() {
filter-flags -fPIC
- # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- # we disable etdyn because of assembler and extra add fstackprotector plus the necessary libs
- 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
-
myconf=""
# see bug #3897 ... we need insmod static, as libz.so is in /usr/lib
#