boost: add support for ppc64 platforms

[ci skip]
This commit is contained in:
q66 2018-12-13 01:51:34 +01:00 committed by Helmut Pozimski
parent 70fcc0dfba
commit 5ff20e49da
1 changed files with 7 additions and 5 deletions

View File

@ -34,11 +34,13 @@ if [ -z "$CROSS_BUILD" ]; then
fi
case "$XBPS_TARGET_MACHINE" in
i686*) _arch=x86; _toolset="gcc-i386"; _abi=sysv ;;
x86_64*) _arch=x86; _toolset="gcc-x86_64"; _abi=sysv ;;
arm*) _arch=arm; _toolset="gcc-arm"; _abi=aapcs ;;
aarch64*) _arch=arm; _toolset="gcc-aarch64"; _abi=aapcs ;;
mips*) _arch=mips32r2; _toolset="gcc-mips"; _abi=o32 ;;
i686*) _arch=x86; _toolset="gcc-i386"; _abi=sysv ;;
x86_64*) _arch=x86; _toolset="gcc-x86_64"; _abi=sysv ;;
arm*) _arch=arm; _toolset="gcc-arm"; _abi=aapcs ;;
aarch64*) _arch=arm; _toolset="gcc-aarch64"; _abi=aapcs ;;
mips*) _arch=mips32r2; _toolset="gcc-mips"; _abi=o32 ;;
ppc64le*) _arch=power; _toolset="gcc-powerpc64le"; _abi=sysv ;;
ppc64*) _arch=power; _toolset="gcc-powerpc64"; _abi=sysv ;;
esac
do_build() {