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 |
|
mabi-cflags() |
241 |
|
{ |
242 |
|
echo "\"\${CFLAGS}\"" |
243 |
|
} |
244 |
|
|
245 |
|
mabi-cxxflags() |
246 |
|
{ |
247 |
|
echo "\"\${CXXFLAGS}\"" |
248 |
|
} |
249 |
|
|
250 |
|
mabi-ldflags() |
251 |
|
{ |
252 |
|
echo "\"\${LDFLAGS}\"" |
253 |
|
} |
254 |
|
|
255 |
## |
## |
256 |
# multilib compile functions |
# multilib compile functions |
257 |
## |
## |
295 |
for abi in ${abis_to_run} |
for abi in ${abis_to_run} |
296 |
do |
do |
297 |
SRCDIR="${saved_SRCDIR}-${abi}" |
SRCDIR="${saved_SRCDIR}-${abi}" |
298 |
cd ${SRCDIR}-${abi}/${SRCSUBDIR} |
cd ${SRCDIR}/${SRCSUBDIR} |
299 |
abi-${abi} oldcmake_configure $@ || die |
abi-${abi} oldcmake_configure $@ || die |
300 |
done |
done |
301 |
# restore SRCDIR |
# restore SRCDIR |