blob: 9eebc767690d3cf08640ace46de99a5c12c1a699 [file] [log] [blame]
# Here we remove any ABI that isn't 32-bit.
case ${PROFILE_ARCH} in
mips64)
# This is for o32 (64-bit kernel, 32-bit userland) so we force -mabi=32
export CHOST="mips-unknown-linux-gnu"
export CFLAGS="${CFLAGS/-mabi=*/-mabi=32}"
export CXXFLAGS="${CFLAGS}"
;;
esac