/[gentoo-x86]/sys-libs/glibc/files/eblits/common.eblit
Gentoo

Diff of /sys-libs/glibc/files/eblits/common.eblit

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.11 2010/06/16 01:43:37 zorry Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.12 2010/09/30 06:29:21 vapier Exp $
4 4
5# We need to be able to set alternative headers for 5# We need to be able to set alternative headers for
6# compiling for non-native platform 6# compiling for non-native platform
7# Will also become useful for testing kernel-headers without screwing up 7# Will also become useful for testing kernel-headers without screwing up
8# the whole system. 8# the whole system.
249 has_multilib_profile || use multilib ;; 249 has_multilib_profile || use multilib ;;
250 *) false ;; 250 *) false ;;
251 esac 251 esac
252} 252}
253 253
254use_multiarch() {
255 # Make sure binutils is new enough to support indirect functions #336792
256 local bver=$($(tc-getLD ${CTARGET}) -v | awk '{print $NF}') nver
257 case $(tc-arch ${CTARGET}) in
258 amd64|x86) nver="2.20" ;;
259 sparc) nver="2.21" ;;
260 *) return 1 ;;
261 esac
262 version_is_at_least ${nver} ${bver}
263}
264
254# Setup toolchain variables that would be defined in the profiles for these archs. 265# Setup toolchain variables that would be defined in the profiles for these archs.
255setup_env() { 266setup_env() {
256 # silly users 267 # silly users
257 unset LD_RUN_PATH 268 unset LD_RUN_PATH
258 269

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20