Ticket #49979: patch-xcode-7.2.diff
File patch-xcode-7.2.diff, 1.4 KB (added by ivangeloff@…, 9 years ago) |
---|
-
build.sh
old new 117 117 declare M_XCODE71="" 118 118 declare M_XCODE71_VERSION=7.1 119 119 readonly M_XCODE71_COMPILER="com.apple.compilers.llvm.clang.1_0" 120 declare M_XCODE72="" 121 declare M_XCODE72_VERSION=7.2 122 readonly M_XCODE72_COMPILER="com.apple.compilers.llvm.clang.1_0" 120 123 121 124 declare M_ACTUAL_PLATFORM="" 122 125 declare M_PLATFORMS="" … … 2652 2655 M_XCODE71_VERSION=$m_xcode_version 2653 2656 fi 2654 2657 ;; 2658 7.2*) 2659 m_version_compare $M_XCODE72_VERSION $m_xcode_version 2660 if [[ $? != 2 ]] 2661 then 2662 M_XCODE72="$m_xcode_root" 2663 M_XCODE72_VERSION=$m_xcode_version 2664 fi 2665 ;; 2655 2666 *) 2656 2667 m_log "skip unsupported Xcode version in '$m_xcode_root'." 2657 2668 ;; … … 2929 2940 M_SDK_1011_COMPILER="$M_XCODE71_COMPILER" 2930 2941 m_platform_realistic_add "10.11" 2931 2942 fi 2943 if [[ -n "$M_XCODE72" ]] 2944 then 2945 m_xcode_latest="$M_XCODE72" 2946 2947 M_SDK_1011="$M_XCODE72/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" 2948 M_SDK_1011_XCODE="$M_XCODE72" 2949 M_SDK_1011_COMPILER="$M_XCODE72_COMPILER" 2950 m_platform_realistic_add "10.11" 2951 fi 2932 2952 2933 2953 m_read_input "$@" 2934 2954