Commit 324bcbfa authored by Tom Finegan's avatar Tom Finegan
Browse files

build/make/ Silence arm target Xcode7 link warnings.

Always add IOS_VERSION_MIN to darwin arm cflags. The warning occured
because the default (9.0) does not match the value set by configure


Change-Id: Ia9085ceeca10e057f9eb781c14f07581bb6280a5
parent 6cf994b9
...@@ -742,6 +742,7 @@ process_common_toolchain() { ...@@ -742,6 +742,7 @@ process_common_toolchain() {
# platforms, so use the newest one available. # platforms, so use the newest one available.
case ${toolchain} in case ${toolchain} in
arm*-darwin*) arm*-darwin*)
add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)" iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)"
if [ -d "${iphoneos_sdk_dir}" ]; then if [ -d "${iphoneos_sdk_dir}" ]; then
add_cflags "-isysroot ${iphoneos_sdk_dir}" add_cflags "-isysroot ${iphoneos_sdk_dir}"
Supports Markdown
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