summaryrefslogtreecommitdiff
path: root/build/make
diff options
context:
space:
mode:
Diffstat (limited to 'build/make')
-rw-r--r--build/make/configure.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index d05d0fa12..206b54f77 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -767,9 +767,9 @@ process_common_toolchain() {
# detect tgt_os
case "$gcctarget" in
- *darwin1[0-8]*)
+ *darwin1[0-9]*)
tgt_isa=x86_64
- tgt_os=`echo $gcctarget | sed 's/.*\(darwin1[0-8]\).*/\1/'`
+ tgt_os=`echo $gcctarget | sed 's/.*\(darwin1[0-9]\).*/\1/'`
;;
x86_64*mingw32*)
tgt_os=win64
@@ -907,6 +907,10 @@ process_common_toolchain() {
add_cflags "-mmacosx-version-min=10.14"
add_ldflags "-mmacosx-version-min=10.14"
;;
+ *-darwin19-*)
+ add_cflags "-mmacosx-version-min=10.15"
+ add_ldflags "-mmacosx-version-min=10.15"
+ ;;
*-iphonesimulator-*)
add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}"