Merge "Add target for OS X 10.8 Mountain Lion" into eider
This commit is contained in:
commit
e5cef5d5a6
@ -588,6 +588,10 @@ process_common_toolchain() {
|
|||||||
tgt_isa=x86_64
|
tgt_isa=x86_64
|
||||||
tgt_os=darwin11
|
tgt_os=darwin11
|
||||||
;;
|
;;
|
||||||
|
*darwin12*)
|
||||||
|
tgt_isa=x86_64
|
||||||
|
tgt_os=darwin12
|
||||||
|
;;
|
||||||
*mingw32*|*cygwin*)
|
*mingw32*|*cygwin*)
|
||||||
[ -z "$tgt_isa" ] && tgt_isa=x86
|
[ -z "$tgt_isa" ] && tgt_isa=x86
|
||||||
tgt_os=win32
|
tgt_os=win32
|
||||||
@ -679,6 +683,10 @@ process_common_toolchain() {
|
|||||||
add_cflags "-mmacosx-version-min=10.7"
|
add_cflags "-mmacosx-version-min=10.7"
|
||||||
add_ldflags "-mmacosx-version-min=10.7"
|
add_ldflags "-mmacosx-version-min=10.7"
|
||||||
;;
|
;;
|
||||||
|
*-darwin12-*)
|
||||||
|
add_cflags "-mmacosx-version-min=10.8"
|
||||||
|
add_ldflags "-mmacosx-version-min=10.8"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Handle Solaris variants. Solaris 10 needs -lposix4
|
# Handle Solaris variants. Solaris 10 needs -lposix4
|
||||||
|
23
configure
vendored
23
configure
vendored
@ -109,6 +109,8 @@ all_platforms="${all_platforms} x86-darwin8-icc"
|
|||||||
all_platforms="${all_platforms} x86-darwin9-gcc"
|
all_platforms="${all_platforms} x86-darwin9-gcc"
|
||||||
all_platforms="${all_platforms} x86-darwin9-icc"
|
all_platforms="${all_platforms} x86-darwin9-icc"
|
||||||
all_platforms="${all_platforms} x86-darwin10-gcc"
|
all_platforms="${all_platforms} x86-darwin10-gcc"
|
||||||
|
all_platforms="${all_platforms} x86-darwin11-gcc"
|
||||||
|
all_platforms="${all_platforms} x86-darwin12-gcc"
|
||||||
all_platforms="${all_platforms} x86-linux-gcc"
|
all_platforms="${all_platforms} x86-linux-gcc"
|
||||||
all_platforms="${all_platforms} x86-linux-icc"
|
all_platforms="${all_platforms} x86-linux-icc"
|
||||||
all_platforms="${all_platforms} x86-os2-gcc"
|
all_platforms="${all_platforms} x86-os2-gcc"
|
||||||
@ -120,6 +122,7 @@ all_platforms="${all_platforms} x86-win32-vs9"
|
|||||||
all_platforms="${all_platforms} x86_64-darwin9-gcc"
|
all_platforms="${all_platforms} x86_64-darwin9-gcc"
|
||||||
all_platforms="${all_platforms} x86_64-darwin10-gcc"
|
all_platforms="${all_platforms} x86_64-darwin10-gcc"
|
||||||
all_platforms="${all_platforms} x86_64-darwin11-gcc"
|
all_platforms="${all_platforms} x86_64-darwin11-gcc"
|
||||||
|
all_platforms="${all_platforms} x86_64-darwin12-gcc"
|
||||||
all_platforms="${all_platforms} x86_64-linux-gcc"
|
all_platforms="${all_platforms} x86_64-linux-gcc"
|
||||||
all_platforms="${all_platforms} x86_64-linux-icc"
|
all_platforms="${all_platforms} x86_64-linux-icc"
|
||||||
all_platforms="${all_platforms} x86_64-solaris-gcc"
|
all_platforms="${all_platforms} x86_64-solaris-gcc"
|
||||||
@ -128,6 +131,9 @@ all_platforms="${all_platforms} x86_64-win64-vs8"
|
|||||||
all_platforms="${all_platforms} x86_64-win64-vs9"
|
all_platforms="${all_platforms} x86_64-win64-vs9"
|
||||||
all_platforms="${all_platforms} universal-darwin8-gcc"
|
all_platforms="${all_platforms} universal-darwin8-gcc"
|
||||||
all_platforms="${all_platforms} universal-darwin9-gcc"
|
all_platforms="${all_platforms} universal-darwin9-gcc"
|
||||||
|
all_platforms="${all_platforms} universal-darwin10-gcc"
|
||||||
|
all_platforms="${all_platforms} universal-darwin11-gcc"
|
||||||
|
all_platforms="${all_platforms} universal-darwin12-gcc"
|
||||||
all_platforms="${all_platforms} generic-gnu"
|
all_platforms="${all_platforms} generic-gnu"
|
||||||
|
|
||||||
# all_targets is a list of all targets that can be configured
|
# all_targets is a list of all targets that can be configured
|
||||||
@ -493,11 +499,20 @@ process_toolchain() {
|
|||||||
case $toolchain in
|
case $toolchain in
|
||||||
universal-darwin*)
|
universal-darwin*)
|
||||||
local darwin_ver=${tgt_os##darwin}
|
local darwin_ver=${tgt_os##darwin}
|
||||||
fat_bin_archs="$fat_bin_archs ppc32-${tgt_os}-gcc"
|
|
||||||
|
|
||||||
# Intel
|
# Snow Leopard (10.6/darwin10) dropped support for PPC
|
||||||
fat_bin_archs="$fat_bin_archs x86-${tgt_os}-${tgt_cc}"
|
# Include PPC support for all prior versions
|
||||||
if [ $darwin_ver -gt 8 ]; then
|
if [ $darwin_ver -lt 10 ]; then
|
||||||
|
fat_bin_archs="$fat_bin_archs ppc32-${tgt_os}-gcc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Tiger (10.4/darwin8) brought support for x86
|
||||||
|
if [ $darwin_ver -ge 8 ]; then
|
||||||
|
fat_bin_archs="$fat_bin_archs x86-${tgt_os}-${tgt_cc}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Leopard (10.5/darwin9) brought 64 bit support
|
||||||
|
if [ $darwin_ver -ge 9 ]; then
|
||||||
fat_bin_archs="$fat_bin_archs x86_64-${tgt_os}-${tgt_cc}"
|
fat_bin_archs="$fat_bin_archs x86_64-${tgt_os}-${tgt_cc}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user