summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArmando Di Cianno <fafhrd@gentoo.org>2004-09-27 00:09:55 +0000
committerArmando Di Cianno <fafhrd@gentoo.org>2004-09-27 00:09:55 +0000
commitd415b3c3f7ebad2a5d3f1e5a4cd8ef03020d46ce (patch)
tree3484cfa399ff82a3fc93cbc9d50e98dc68882225 /eclass
parentFix for lesspipe.sh messup (Manifest recommit) (diff)
downloadgentoo-2-d415b3c3f7ebad2a5d3f1e5a4cd8ef03020d46ce.tar.gz
gentoo-2-d415b3c3f7ebad2a5d3f1e5a4cd8ef03020d46ce.tar.bz2
gentoo-2-d415b3c3f7ebad2a5d3f1e5a4cd8ef03020d46ce.zip
Make DEPEND's slightly less strict; filter out -fstrict-aliasing on gcc-3.4*, as it's known to break GNUstep apps
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnustep.eclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/gnustep.eclass b/eclass/gnustep.eclass
index ab49bde762b2..1ffaa6d60444 100644
--- a/eclass/gnustep.eclass
+++ b/eclass/gnustep.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep.eclass,v 1.13 2004/09/24 17:32:37 fafhrd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep.eclass,v 1.14 2004/09/27 00:09:55 fafhrd Exp $
inherit eutils flag-o-matic
@@ -10,9 +10,9 @@ INHERITED="$INHERITED $ECLASS"
DESCRIPTION="EClass designed to facilitate building GNUstep Apps, Frameworks, and Bundles on Gentoo."
IUSE="debug"
-DOC_DEPEND="doc? ( =app-text/tetex-2.0.2*
+DOC_DEPEND="doc? ( =app-text/tetex-2.0*
=dev-tex/latex2html-2002*
- =app-text/texi2html-1.64* )"
+ =app-text/texi2html-1.6* )"
GNUSTEP_CORE_DEPEND="virtual/glibc
>=sys-devel/gcc-3.0.4
${DOC_DEPEND}"
@@ -154,10 +154,12 @@ gnustep_pkg_setup() {
filter-flags -march=k8
filter-flags -march=athlon64
filter-flags -march=opteron
+
strip-unsupported-flags
elif test_version_info 3.4
then
- einfo "Using gcc 3.4*"
+ # strict-aliasing is known to break obj-c stuff in gcc-3.4*
+ filter-flags -fstrict-aliasing
fi
}