From 81b98c7c215ea23d1d60126255a19f9ad9aa1630 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Mon, 1 Jan 2024 12:56:39 +0200 Subject: [PATCH] mpir: fix to_apple_arch() --- recipes/mpir/all/conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/mpir/all/conanfile.py b/recipes/mpir/all/conanfile.py index e04d78768d206..d9ae778b935b2 100644 --- a/recipes/mpir/all/conanfile.py +++ b/recipes/mpir/all/conanfile.py @@ -103,8 +103,8 @@ def _generate_autotools(self): sdk_path = XCRun(self).sdk_path tc.extra_cxxflags += [ "-Wno-implicit-function-declaration", - f"-isysroot {sdk_path}", - "-arch", f"{to_apple_arch(self.settings_build.arch)}", + "-isysroot", sdk_path, + "-arch", to_apple_arch(self), ] # Disable docs tc.make_args.append("MAKEINFO=true")