diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-04-23 00:25:00 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-04-23 00:25:00 +0000 |
commit | ac6e49434e8e1ad271afb1424358cb9f478a68ed (patch) | |
tree | cdd585ffa34371fcf75512093ec82e93a6216e7d | |
parent | Move java-config inside ebuild so it's not in global scope (Manifest recommit) (diff) | |
download | gentoo-2-ac6e49434e8e1ad271afb1424358cb9f478a68ed.tar.gz gentoo-2-ac6e49434e8e1ad271afb1424358cb9f478a68ed.tar.bz2 gentoo-2-ac6e49434e8e1ad271afb1424358cb9f478a68ed.zip |
Move gcc check inside src_compile and out of global scope
-rw-r--r-- | kde-base/kdeedu/kdeedu-3.1.5.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kde-base/kdeedu/kdeedu-3.1.5.ebuild b/kde-base/kdeedu/kdeedu-3.1.5.ebuild index fe51267f4476..5b6f01f6efbe 100644 --- a/kde-base/kdeedu/kdeedu-3.1.5.ebuild +++ b/kde-base/kdeedu/kdeedu-3.1.5.ebuild @@ -1,12 +1,16 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.1.5.ebuild,v 1.5 2004/03/25 22:56:22 jhuebel Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.1.5.ebuild,v 1.6 2004/04/23 00:25:00 caleb Exp $ inherit kde-dist flag-o-matic IUSE="" DESCRIPTION="KDE educational apps" KEYWORDS="x86 ~ppc sparc hppa amd64 alpha ia64" +src_compile() { + if [ "`gcc -dumpversion`" == "2.95.3" ]; then filter-flags "-fomit-frame-pointer" fi + kde_src_compile +} |