Ticket #23204: patch-config.tests-mac-dwarf2.test.diff

File patch-config.tests-mac-dwarf2.test.diff, 736 bytes (added by hsivank@…, 14 years ago)
  • config.tests/mac/dwarf2.test

    old new  
    88
    99touch dwarf2.c
    1010
    11 if "$COMPILER" -c dwarf2.c -Werror -gdwarf-2 2>/dev/null 1>&2; then
     11if $COMPILER -c dwarf2.c -Werror -gdwarf-2 2>/dev/null 1>&2; then
    1212    if "$COMPILER" -c dwarf2.c -Werror -gdwarf-2  2>&1 | grep "unsupported" >/dev/null ; then
    1313        true
    1414    else
     
    1818rm -f dwarf2.c dwarf2.o
    1919
    2020# Test for xcode 2.4.0, which has a broken implementation of DWARF
    21 "$COMPILER" $WORKDIR/xcodeversion.cpp -o xcodeversion -framework Carbon;
     21$COMPILER $WORKDIR/xcodeversion.cpp -o xcodeversion -framework Carbon;
    2222./xcodeversion
    2323
    2424if [ "$?" == "1" ]; then