summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 04:56:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 04:56:35 +0000
commit00e9f9e35fbfb79dff6e9d097bf0e82b91560c3a (patch)
tree21ffedccd9b2a340663d7d38bd72b7f9b7f95fb6 /eclass
parentStable on SPARC wrt bug #118946. (diff)
downloadhistorical-00e9f9e35fbfb79dff6e9d097bf0e82b91560c3a.tar.gz
historical-00e9f9e35fbfb79dff6e9d097bf0e82b91560c3a.tar.bz2
historical-00e9f9e35fbfb79dff6e9d097bf0e82b91560c3a.zip
only add mudflap configure options with >=gcc-4
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index f51d071e96ca..ce84296968a3 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.243 2006/01/13 19:00:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.244 2006/01/15 04:56:35 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1076,7 +1076,9 @@ gcc-compiler-configure() {
confgcc="${confgcc} --disable-multilib"
fi
- confgcc="${confgcc} $(use_enable mudflap libmudflap)"
+ if version_is_at_least "4.0" ; then
+ confgcc="${confgcc} $(use_enable mudflap libmudflap)"
+ fi
# GTK+ is preferred over xlib in 3.4.x (xlib is unmaintained
# right now). Much thanks to <csm@gnu.org> for the heads up.