Commit f2a6799c authored by Johann's avatar Johann Committed by Gerrit Code Review
Browse files

Merge "Update paths for iOS 5.1" into eider

parents e5cef5d5 e918ed98
...@@ -821,7 +821,8 @@ process_common_toolchain() { ...@@ -821,7 +821,8 @@ process_common_toolchain() {
darwin*) darwin*)
if [ -z "${sdk_path}" ]; then if [ -z "${sdk_path}" ]; then
SDK_PATH=/Developer/Platforms/iPhoneOS.platform/Developer SDK_PATH=`xcode-select -print-path 2> /dev/null`
SDK_PATH=${SDK_PATH}/Platforms/iPhoneOS.platform/Developer
else else
SDK_PATH=${sdk_path} SDK_PATH=${sdk_path}
fi fi
...@@ -843,7 +844,7 @@ process_common_toolchain() { ...@@ -843,7 +844,7 @@ process_common_toolchain() {
add_ldflags -arch_only ${tgt_isa} add_ldflags -arch_only ${tgt_isa}
if [ -z "${alt_libc}" ]; then if [ -z "${alt_libc}" ]; then
alt_libc=${SDK_PATH}/SDKs/iPhoneOS5.0.sdk alt_libc=${SDK_PATH}/SDKs/iPhoneOS5.1.sdk
fi fi
add_cflags "-isysroot ${alt_libc}" add_cflags "-isysroot ${alt_libc}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment