Ticket #48120: patch-Xcode-6.3-6.4.diff

File patch-Xcode-6.3-6.4.diff, 3.5 KB (added by ahkdiep@…, 9 years ago)
  • build.sh

    old new  
    105105declare M_XCODE62=""
    106106declare M_XCODE62_VERSION=6.2
    107107readonly M_XCODE62_COMPILER="com.apple.compilers.llvm.clang.1_0"
     108declare M_XCODE63=""
     109declare M_XCODE63_VERSION=6.3
     110readonly M_XCODE63_COMPILER="com.apple.compilers.llvm.clang.1_0"
     111declare M_XCODE64=""
     112declare M_XCODE64_VERSION=6.4
     113readonly M_XCODE64_COMPILER="com.apple.compilers.llvm.clang.1_0"
     114declare M_XCODE70=""
     115declare M_XCODE70_VERSION=7.0
     116readonly M_XCODE70_COMPILER="com.apple.compilers.llvm.clang.1_0"
    108117
    109118declare M_ACTUAL_PLATFORM=""
    110119declare M_PLATFORMS=""
     
    25692578                    M_XCODE62_VERSION=$m_xcode_version
    25702579                fi
    25712580                ;;
     2581            6.3*)
     2582                m_version_compare $M_XCODE63_VERSION $m_xcode_version
     2583                if [[ $? != 2 ]]
     2584                then
     2585                    M_XCODE63="$m_xcode_root"
     2586                    M_XCODE63_VERSION=$m_xcode_version
     2587                fi
     2588                ;;
     2589            6.4*)
     2590                m_version_compare $M_XCODE64_VERSION $m_xcode_version
     2591                if [[ $? != 2 ]]
     2592                then
     2593                    M_XCODE64="$m_xcode_root"
     2594                    M_XCODE64_VERSION=$m_xcode_version
     2595                fi
     2596                ;;
     2597            7.0*)
     2598                m_version_compare $M_XCODE64_VERSION $m_xcode_version
     2599                if [[ $? != 2 ]]
     2600                then
     2601                    M_XCODE70="$m_xcode_root"
     2602                    M_XCODE70_VERSION=$m_xcode_version
     2603                fi
     2604                ;;
    25722605            *)
    25732606                m_log "skip unsupported Xcode version in '$m_xcode_root'."
    25742607                ;;
     
    27862819        M_SDK_1010_COMPILER="$M_XCODE62_COMPILER"
    27872820        m_platform_realistic_add "10.10"
    27882821    fi
     2822    if [[ -n "$M_XCODE63" ]]
     2823    then
     2824        m_xcode_latest="$M_XCODE63"
     2825
     2826        M_SDK_109="$M_XCODE63/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"
     2827        M_SDK_109_XCODE="$M_XCODE63"
     2828        M_SDK_109_COMPILER="$M_XCODE63_COMPILER"
     2829        m_platform_realistic_add "10.9"
     2830        m_platform_add "10.10"
     2831
     2832        M_SDK_1010="$M_XCODE63/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
     2833        M_SDK_1010_XCODE="$M_XCODE63"
     2834        M_SDK_1010_COMPILER="$M_XCODE63_COMPILER"
     2835        m_platform_realistic_add "10.10"
     2836    fi
     2837    if [[ -n "$M_XCODE64" ]]
     2838    then
     2839        m_xcode_latest="$M_XCODE64"
     2840
     2841        M_SDK_109="$M_XCODE64/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"
     2842        M_SDK_109_XCODE="$M_XCODE64"
     2843        M_SDK_109_COMPILER="$M_XCODE64_COMPILER"
     2844        m_platform_realistic_add "10.9"
     2845        m_platform_add "10.10"
     2846
     2847        M_SDK_1010="$M_XCODE64/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
     2848        M_SDK_1010_XCODE="$M_XCODE64"
     2849        M_SDK_1010_COMPILER="$M_XCODE64_COMPILER"
     2850        m_platform_realistic_add "10.10"
     2851    fi
     2852    if [[ -n "$M_XCODE70" ]]
     2853    then
     2854        m_xcode_latest="$M_XCODE70"
     2855
     2856        M_SDK_1010="$M_XCODE70/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
     2857        M_SDK_1010_XCODE="$M_XCODE70"
     2858        M_SDK_1010_COMPILER="$M_XCODE70_COMPILER"
     2859        m_platform_realistic_add "10.10"
     2860        m_platform_add "10.11"
     2861
     2862        M_SDK_1011="$M_XCODE70/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"
     2863        M_SDK_1011_XCODE="$M_XCODE70"
     2864        M_SDK_1011_COMPILER="$M_XCODE70_COMPILER"
     2865        m_platform_realistic_add "10.11"
     2866    fi
     2867
    27892868
    27902869    m_read_input "$@"
    27912870