gcc: force our triplet in native arm builds.

This commit is contained in:
Juan RP 2014-08-21 18:26:09 +02:00
parent 0a09722b3f
commit e8f683a104
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ do_configure() {
_langs="c,c++,lto"
_args+=" --disable-multilib --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=${XBPS_CROSS_BASE}"
else
case "$XBPS_TARGET_MACHINE" in
arm*) _args+=" --build=${_triplet}";;
esac
_langs="c,c++,objc,obj-c++,fortran,lto,go,java"
_args+=" --enable-java-gc=boehm --enable-fast-character"
fi