Skip to content

Commit

Permalink
mpir: fix to_apple_arch()
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jan 1, 2024
1 parent ff0be92 commit 81b98c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/mpir/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 81b98c7

Please sign in to comment.