glibc: repair cross build.
This commit is contained in:
parent
9d4b73905b
commit
f75ca465c4
|
@ -58,6 +58,8 @@ do_configure() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
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"
|
configure_args+=" --with-headers=${XBPS_CROSS_BASE}/usr/include"
|
||||||
else
|
else
|
||||||
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"
|
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"
|
||||||
|
|
Loading…
Reference in New Issue