void-packages/common/environment/configure/cross.sh

6 lines
168 B
Bash
Raw Normal View History

if [ -n "$CROSS_BUILD" ]; then
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib"
fi