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

Diff of /eclass/qt4-build-multilib.eclass

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

Revision 1.23 Revision 1.24
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 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/qt4-build-multilib.eclass,v 1.23 2015/06/13 17:28:13 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.24 2015/06/13 22:13:24 pesa Exp $
4 4
5# @ECLASS: qt4-build-multilib.eclass 5# @ECLASS: qt4-build-multilib.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Qt herd <qt@gentoo.org> 7# Qt herd <qt@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
298 LD=$(tc-getCXX) \ 298 LD=$(tc-getCXX) \
299 OBJCOPY=$(tc-getOBJCOPY) \ 299 OBJCOPY=$(tc-getOBJCOPY) \
300 STRIP=$(tc-getSTRIP) 300 STRIP=$(tc-getSTRIP)
301 301
302 # convert tc-arch to the values supported by Qt 302 # convert tc-arch to the values supported by Qt
303 local arch= 303 local arch=$(tc-arch)
304 case $(tc-arch) in 304 case ${arch} in
305 amd64|x64-*) arch=x86_64 ;; 305 amd64|x64-*) arch=x86_64 ;;
306 arm64|hppa) arch=generic ;;
306 ppc*-macos) arch=ppc ;; 307 ppc*-macos) arch=ppc ;;
307 ppc*) arch=powerpc ;; 308 ppc*) arch=powerpc ;;
308 sparc*) arch=sparc ;; 309 sparc*) arch=sparc ;;
309 x86-macos) arch=x86 ;; 310 x86-macos) arch=x86 ;;
310 x86*) arch=i386 ;; 311 x86*) arch=i386 ;;
311 alpha|arm|ia64|mips|s390) arch=$(tc-arch) ;;
312 arm64|hppa|sh) arch=generic ;;
313 *) die "qt4-build-multilib.eclass: unsupported tc-arch '$(tc-arch)'" ;;
314 esac 312 esac
315 313
316 # configure arguments 314 # configure arguments
317 local conf=( 315 local conf=(
318 # installation paths 316 # installation paths

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20