From 723fca7dd122c94e209864316e01535a23dc6d09 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Fri, 11 Dec 2020 08:00:07 +0100 Subject: [PATCH] configure: add darwin20 cross-compile support Change-Id: I91c0e832a6e76172397e97413329fd43edc81c78 --- build/make/configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 91a64b504..c4e938fc7 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -919,8 +919,8 @@ process_common_toolchain() { add_ldflags "-mmacosx-version-min=10.15" ;; *-darwin20-*) - add_cflags "-mmacosx-version-min=10.16" - add_ldflags "-mmacosx-version-min=10.16" + add_cflags "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}" + add_ldflags "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}" ;; *-iphonesimulator-*) add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" -- 2.40.0