ref: 956d3cac34711ce90e25593b65fcd3f9d0baa763
parent: 979e27c9700448bded96fb1d4ba31441a8da82db
author: James Zern <jzern@google.com>
date: Tue Sep 29 06:38:41 EDT 2020
configure.sh: fix arm64-darwin-gcc match after: 979e27c97 configure: add darwin20 support make the condition more specific by including the trailing -gcc (-*) Change-Id: I78f481b6c5ad9137e6b6973198e8671e806ee82c
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -852,7 +852,7 @@
# Handle darwin variants. Newer SDKs allow targeting older
# platforms, so use the newest one available.
case ${toolchain} in
- arm*-darwin-)
+ arm*-darwin-*)
add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)"
if [ -d "${iphoneos_sdk_dir}" ]; then