summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to '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 0b58275586c1..2f3843d3c22d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.3 2004/09/05 20:47:19 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.4 2004/09/06 01:46:15 lv Exp $
#
# This eclass should contain general toolchain-related functions that are
# expected to not change, or change much.
@@ -681,7 +681,7 @@ gcc_do_make() {
# Only build it static if we are just building the C frontend, else
# a lot of things break because there are not libstdc++.so ....
- if use static && [ "${gcc_lang}" = "c" ] ; then
+ if use static && [ "${GCC_LANG}" = "c" ] ; then
LDFLAGS="${LDFLAGS:="-static"}"
fi