parent
70fcc0dfba
commit
5ff20e49da
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue