Skip to content

Commit

Permalink
Merge pull request #7827 from radarhere/macos_sdk_warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Mar 11, 2024
2 parents 00d28bd + 24865e5 commit 28908cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,9 @@ def build_extensions(self):
if sdk_path:
_add_directory(library_dirs, os.path.join(sdk_path, "usr", "lib"))
_add_directory(include_dirs, os.path.join(sdk_path, "usr", "include"))

for extension in self.extensions:
extension.extra_compile_args = ["-Wno-nullability-completeness"]
elif (
sys.platform.startswith("linux")
or sys.platform.startswith("gnu")
Expand Down

0 comments on commit 28908cb

Please sign in to comment.