summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-01-31 07:50:38 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-01-31 07:50:38 +0000
commit187a115e9c6516e6622055b5360586228817cf0d (patch)
tree104d8456e449d8b445b268a3ea3851eb29e16d3b /eclass/toolchain.eclass
parentCleaned up ebuild (Manifest recommit) (diff)
downloadgentoo-2-187a115e9c6516e6622055b5360586228817cf0d.tar.gz
gentoo-2-187a115e9c6516e6622055b5360586228817cf0d.tar.bz2
gentoo-2-187a115e9c6516e6622055b5360586228817cf0d.zip
Fix setting GCJFLAGS.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 687b91757a8a..5d90bc148483 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.98 2005/01/31 02:42:04 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.99 2005/01/31 07:50:38 eradicator Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1132,7 +1132,7 @@ gcc_do_filter_flags() {
# Compile problems with these (bug #6641 among others)...
#filter-flags "-fno-exceptions -fomit-frame-pointer -fforce-addr"
- export GCJFLAGS=${GCJFLAGS:-CFLAGS}
+ export GCJFLAGS=${GCJFLAGS:-${CFLAGS}}
}
gcc_src_compile() {