Revision 6e3fa35d configure

View differences:

configure
1524 1524
    fi
1525 1525
elif $cc --version 2>/dev/null | grep -q Intel; then
1526 1526
    cc_type=icc
1527
    cc_version="AV_STRINGIFY(__INTEL_COMPILER)"
1527 1528
    CC_DEPFLAGS='-MMD'
1528 1529
    AS_DEPFLAGS='-MMD'
1529 1530
elif $cc -v 2>&1 | grep -q xlc; then
1530 1531
    cc_type=xlc
1532
    cc_version="AV_STRINGIFY(__IBMC__)"
1531 1533
elif $cc -V 2>/dev/null | grep -q Compaq; then
1532 1534
    cc_type=ccc
1535
    cc_version="AV_STRINGIFY(__DECC_VER)"
1533 1536
    DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -M'
1534 1537
    debuglevel=3
1535 1538
    add_ldflags -Wl,-z,now # calls to libots crash without this
1536 1539
elif $cc --vsn 2>/dev/null | grep -q RVCT; then
1537 1540
    test -d "$sysroot" || die "No valid sysroot specified."
1538 1541
    cc_type=armcc
1542
    cc_version="AV_STRINGIFY(__ARMCC_VERSION)"
1539 1543
    armcc_conf="$PWD/armcc.conf"
1540 1544
    $cc --arm_linux_configure                 \
1541 1545
        --arm_linux_config_file="$armcc_conf" \
......
1548 1552
    AS_DEPFLAGS='-MMD'
1549 1553
elif $cc -version 2>/dev/null | grep -q TMS470; then
1550 1554
    cc_type=tms470
1555
    cc_version="AV_STRINGIFY(__TI_COMPILER_VERSION__)"
1551 1556
    cc="$cc --gcc --abi=eabi -eo=.o -mc -me"
1552 1557
    CC_O='-fr=$(@D)'
1553 1558
    as_default="${cross_prefix}gcc"

Also available in: Unified diff