diff options
author | 2005-05-22 01:28:59 +0000 | |
---|---|---|
committer | 2005-05-22 01:28:59 +0000 | |
commit | 17d98895f52a189eb8b62d2e583fa1cb02f215ef (patch) | |
tree | 02b8a4c88d9b0de4687e9fdc589bf018bb3a436d /eclass | |
parent | remove get_number_of_jobs hack (diff) | |
download | historical-17d98895f52a189eb8b62d2e583fa1cb02f215ef.tar.gz historical-17d98895f52a189eb8b62d2e583fa1cb02f215ef.tar.bz2 historical-17d98895f52a189eb8b62d2e583fa1cb02f215ef.zip |
enable uclibc/gnu locales only when appropriate
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index e0a1e5d8e144..7d411e6f104a 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.148 2005/05/22 01:25:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.149 2005/05/22 01:28:59 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1041,8 +1041,10 @@ gcc_do_configure() { if is_uclibc ; then confgcc="${confgcc} --disable-__cxa_atexit --enable-sjlj-exceptions --enable-target-optspace" else - confgcc="${confgcc} --enable-__cxa_atexit --enable-clocale=gnu" + confgcc="${confgcc} --enable-__cxa_atexit" fi + [[ ${CTARGET} == *-gnu* ]] && confgcc="${confgcc} --enable-clocale=gnu" + [[ ${CTARGET} == *-uclibc* ]] && confgcc="${confgcc} --enable-clocale=uclibc" # Nothing wrong with a good dose of verbosity echo |