--- trunk/include/multilib.sminc 2012/10/11 10:32:43 13526 +++ trunk/include/multilib.sminc 2012/11/02 10:45:29 13972 @@ -98,6 +98,7 @@ fi # configure a linux32 emulated build + local linux32 if [[ ${EMUL_LINUX_32} = true ]] then if [[ ${MULTILIB_VERBOSE} = true ]] @@ -106,6 +107,7 @@ fi uname(){ linux32 uname $@; } && export -f uname local orig_chost="${CHOST}" && export CHOST="i686-pc-linux-gnu" + linux32="linux32" fi if [[ ${MULTILIB_VERBOSE} = true ]] then @@ -113,7 +115,7 @@ fi # run any given command - eval $@ || die + eval ${linux32} $@ || die unset ABI CC CXX ABI_LIBDIR # keep pkgconfig clean @@ -125,6 +127,7 @@ then unset uname export CHOST="${orig_chost}" && unset orig_chost + unset linux32 fi }