Ticket #51738: patch-xcode-7.3.diff

File patch-xcode-7.3.diff, 1.4 KB (added by arm332@…, 8 years ago)

Patch to "support" Xcode 7.3

  • build.sh

    old new  
    120120declare M_XCODE72=""
    121121declare M_XCODE72_VERSION=7.2
    122122readonly M_XCODE72_COMPILER="com.apple.compilers.llvm.clang.1_0"
     123declare M_XCODE73=""
     124declare M_XCODE73_VERSION=7.3
     125readonly M_XCODE73_COMPILER="com.apple.compilers.llvm.clang.1_0"
    123126
    124127declare M_ACTUAL_PLATFORM=""
    125128declare M_PLATFORMS=""
     
    26632666                    M_XCODE72_VERSION=$m_xcode_version
    26642667                fi
    26652668                ;;
     2669            7.3*)
     2670                m_version_compare $M_XCODE73_VERSION $m_xcode_version
     2671                if [[ $? != 2 ]]
     2672                then
     2673                    M_XCODE73="$m_xcode_root"
     2674                    M_XCODE73_VERSION=$m_xcode_version
     2675                fi
     2676                ;;
    26662677            *)
    26672678                m_log "skip unsupported Xcode version in '$m_xcode_root'."
    26682679                ;;
     
    29492960        M_SDK_1011_COMPILER="$M_XCODE72_COMPILER"
    29502961        m_platform_realistic_add "10.11"
    29512962    fi
     2963    if [[ -n "$M_XCODE73" ]]
     2964    then
     2965        m_xcode_latest="$M_XCODE73"
     2966
     2967        M_SDK_1011="$M_XCODE73/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"
     2968        M_SDK_1011_XCODE="$M_XCODE73"
     2969        M_SDK_1011_COMPILER="$M_XCODE73_COMPILER"
     2970        m_platform_realistic_add "10.11"
     2971    fi
    29522972
    29532973    m_read_input "$@"
    29542974