Magellan Linux

Diff of /branches/R11-unstable/include/multilib.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13526 by niro, Thu Oct 11 10:32:43 2012 UTC revision 13972 by niro, Fri Nov 2 10:45:29 2012 UTC
# Line 98  abi-m32() Line 98  abi-m32()
98   fi   fi
99    
100   # configure a linux32 emulated build   # configure a linux32 emulated build
101     local linux32
102   if [[ ${EMUL_LINUX_32} = true ]]   if [[ ${EMUL_LINUX_32} = true ]]
103   then   then
104   if [[ ${MULTILIB_VERBOSE} = true ]]   if [[ ${MULTILIB_VERBOSE} = true ]]
# Line 106  abi-m32() Line 107  abi-m32()
107   fi   fi
108   uname(){ linux32 uname $@; } && export -f uname   uname(){ linux32 uname $@; } && export -f uname
109   local orig_chost="${CHOST}" && export CHOST="i686-pc-linux-gnu"   local orig_chost="${CHOST}" && export CHOST="i686-pc-linux-gnu"
110     linux32="linux32"
111   fi   fi
112   if [[ ${MULTILIB_VERBOSE} = true ]]   if [[ ${MULTILIB_VERBOSE} = true ]]
113   then   then
# Line 113  abi-m32() Line 115  abi-m32()
115   fi   fi
116    
117   # run any given command   # run any given command
118   eval $@ || die   eval ${linux32} $@ || die
119    
120   unset ABI CC CXX ABI_LIBDIR   unset ABI CC CXX ABI_LIBDIR
121   # keep pkgconfig clean   # keep pkgconfig clean
# Line 125  abi-m32() Line 127  abi-m32()
127   then   then
128   unset uname   unset uname
129   export CHOST="${orig_chost}" && unset orig_chost   export CHOST="${orig_chost}" && unset orig_chost
130     unset linux32
131   fi   fi
132  }  }
133    

Legend:
Removed from v.13526  
changed lines
  Added in v.13972