[bin] armv7a-emerge: set CUR_CHOST automatically

This commit is contained in:
Fabio Erculiani 2012-02-01 18:40:07 +01:00
parent 580627b97b
commit 087db2af36

View File

@ -6,7 +6,7 @@
FEATURES="${FEATURES} distcc distcc-pump" FEATURES="${FEATURES} distcc distcc-pump"
DISTCC_PATH="/usr/lib/distcc/bin" DISTCC_PATH="/usr/lib/distcc/bin"
CUR_CHOST="armv7a-hardfloat-linux-gnueabi" CUR_CHOST="$(basename /usr/lib/gcc/armv*)"
DISTCC_WRAPPER="${CUR_CHOST}-wrapper" DISTCC_WRAPPER="${CUR_CHOST}-wrapper"
pushd "${DISTCC_PATH}" > /dev/null || exit 1 pushd "${DISTCC_PATH}" > /dev/null || exit 1