Skip to content

Commit

Permalink
Temp try compile flags for win and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
robertapplin committed Apr 7, 2024
1 parent f7c11fc commit 85b3ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def compiler_flags() -> Tuple[Sequence[str], Sequence[str]]:
"""
:return: The compiler flags appropriate for this platform
"""
extra_compile_args = []
extra_link_args = []
extra_compile_args = ["-Wno-argument-mismatch"]
extra_link_args = ["-static", "-static-libgfortran", "-static-libgcc"]
if sys.platform == "win32":
extra_link_args = ["-static", "-static-libgfortran", "-static-libgcc"]
elif sys.platform == "darwin":
Expand Down

0 comments on commit 85b3ad1

Please sign in to comment.