arch/mips/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 17 22:26:44 2008 +0000 (2008-06-17)
changeset 571 4f4bfcf02c4f
parent 387 2fa4b675a9a3
permissions -rw-r--r--
Fix building D.U.M.A:
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0
- don't build the libraries multiple times, do it in one pass
- install a custom LD_PRELOAD wrapper

/trunk/scripts/build/debug/200-duma.sh | 54 33 21 0 +++++++++++++++++++++++++++++++++---------------------
1 file changed, 33 insertions(+), 21 deletions(-)
yann@383
     1
# Compute IA-64-specific values
yann@383
     2
yann@383
     3
CT_DoArchValues() {
yann@383
     4
    # The architecture part of the tuple:
yann@383
     5
    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
yann@499
     6
yann@499
     7
    # Override CFLAGS for endianness:
yann@499
     8
    case "${CT_ARCH_BE},${CT_ARCH_LE}" in
yann@499
     9
        y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
yann@499
    10
        ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
yann@499
    11
    esac
yann@383
    12
}