set S properly. oops.
authorTravis Tilley <lv@gentoo.org>
Tue, 9 Nov 2004 18:54:23 +0000 (18:54 +0000)
committerTravis Tilley <lv@gentoo.org>
Tue, 9 Nov 2004 18:54:23 +0000 (18:54 +0000)
eclass/toolchain.eclass

index 1058dbe98fe49947fe6428e83e4cbe0f6adfc6cb..1b18bcb3186045a745d18385a1eec35c01d14b24 100644 (file)
@@ -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.45 2004/11/08 05:54:25 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.46 2004/11/09 18:54:23 lv Exp $
 #
 # This eclass should contain general toolchain-related functions that are
 # expected to not change, or change much.
@@ -138,6 +138,8 @@ gcc_pkg_setup() {
        gcc_setup_static_vars
        gcc_setup_variables
 
+       S="$(gcc_get_s_dir)"
+
        ${ETYPE}-pkg_setup || die "${ETYPE}-pkg_setup failed"
 }