Magellan Linux

Diff of /trunk/include/multilib.sminc

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

revision 11525 by niro, Mon Mar 12 15:23:01 2012 UTC revision 11825 by niro, Wed Apr 18 18:05:43 2012 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2  # multilib abis  # multilib abis
3    
4    # tell the buildsystem that we are doing a multilib build
5    export MULTILIB_BUILD="true"
6    
7  # be verbose or nor (true|false}  # be verbose or nor (true|false}
8  : ${MULTILIB_VERBOSE="true"}  : ${MULTILIB_VERBOSE="true"}
9    
# Line 224  mabi() Line 227  mabi()
227   echo \${ABI}   echo \${ABI}
228  }  }
229    
230    mabi-cc()
231    {
232     echo "gcc -\${ABI}"
233    }
234    
235    mabi-cxx()
236    {
237     echo "g++ -\${ABI}"
238    }
239    
240  ##  ##
241  # multilib compile functions  # multilib compile functions
242  ##  ##
# Line 267  cmake_configure() Line 280  cmake_configure()
280   for abi in ${abis_to_run}   for abi in ${abis_to_run}
281   do   do
282   SRCDIR="${saved_SRCDIR}-${abi}"   SRCDIR="${saved_SRCDIR}-${abi}"
283   cd ${SRCDIR}-${abi}/${SRCSUBDIR}   cd ${SRCDIR}/${SRCSUBDIR}
284   abi-${abi} oldcmake_configure $@ || die   abi-${abi} oldcmake_configure $@ || die
285   done   done
286   # restore SRCDIR   # restore SRCDIR

Legend:
Removed from v.11525  
changed lines
  Added in v.11825