after:
979e27c97 configure: add darwin20 support
make the condition more specific by including the trailing -gcc (-*)
Change-Id: I78f481b6c5ad9137e6b6973198e8671e806ee82c
# 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