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 |
|
|
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 |
## |
## |
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 |