Skip to content

Commit

Permalink
mpir: fix apple-clang issue
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 24, 2023
1 parent c6db31e commit 19b668d
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 @@ -98,10 +98,10 @@ def _generate_autotools(self):
if self.settings.compiler == "apple-clang":
if hasattr(self, "settings_build"):
# there is no CFLAGS_FOR_BUILD/CXXFLAGS_FOR_BUILD
xcrun = XCRun(self.settings_build)
sdk_path = XCRun(self).sdk_path
tc.extra_cxxflags += [
"-Wno-implicit-function-declaration"
f"-isysroot {xcrun.sdk_path}"
f"-isysroot {sdk_path}"
"-arch", f"{to_apple_arch(self.settings_build.arch)}"
]
# Disable docs
Expand Down

0 comments on commit 19b668d

Please sign in to comment.