/[gentoo-x86]/eclass/multilib.eclass
Gentoo

Diff of /eclass/multilib.eclass

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

Revision 1.42 Revision 1.43
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/eclass/multilib.eclass,v 1.42 2005/10/10 21:18:15 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.43 2005/10/12 22:39:07 vapier Exp $
4# 4#
5# Author: Jeremy Huddleston <eradicator@gentoo.org> 5# Author: Jeremy Huddleston <eradicator@gentoo.org>
6# 6#
7# This eclass is for all functions pertaining to handling multilib. 7# This eclass is for all functions pertaining to handling multilib.
8# configurations. 8# configurations.
607 export LIBDIR_ppc64="lib64" 607 export LIBDIR_ppc64="lib64"
608 608
609 export MULTILIB_ABIS="ppc64 ppc" 609 export MULTILIB_ABIS="ppc64 ppc"
610 export DEFAULT_ABI="ppc64" 610 export DEFAULT_ABI="ppc64"
611 ;; 611 ;;
612 s390x*)
613 export CFLAGS_s390=${CFLAGS_s390--m31} # the 31 is not a typo
614 export CHOST_s390=${CTARGET/s390x/s390}
615 export CTARGET_s390=${CHOST_s390}
616 export CDEFINE_s390="!__s390x__"
617 export LIBDIR_s390="lib"
618
619 export CFLAGS_s390x=${CFLAGS_s390x--m64}
620 export CHOST_s390x=${CTARGET}
621 export CTARGET_s390x=${CHOST_s390x}
622 export CDEFINE_s390x="__s390x__"
623 export LIBDIR_s390x="lib64"
624
625 export MULTILIB_ABIS="s390x s390"
626 export DEFAULT_ABI="s390x"
627 ;;
612 sparc64*) 628 sparc64*)
613 export CFLAGS_sparc32=${CFLAGS_sparc32--m32} 629 export CFLAGS_sparc32=${CFLAGS_sparc32--m32}
614 export CHOST_sparc32=${CTARGET/sparc64/sparc} 630 export CHOST_sparc32=${CTARGET/sparc64/sparc}
615 export CTARGET_sparc32=${CHOST_sparc32} 631 export CTARGET_sparc32=${CHOST_sparc32}
616 export CDEFINE_sparc32="!__arch64__" 632 export CDEFINE_sparc32="!__arch64__"

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.20