glibc: repair cross build.

This commit is contained in:
Juan RP 2014-03-09 11:30:20 +01:00
parent 9d4b73905b
commit f75ca465c4
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ do_configure() {
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
configure_args+=" --with-sysroot=${XBPS_CROSS_BASE}"
configure_args+=" --with-headers=${XBPS_CROSS_BASE}/usr/include"
else
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"