From 85b3ad1c28b803b1d1be03dedac1793bb90737e8 Mon Sep 17 00:00:00 2001 From: Applin Date: Sun, 7 Apr 2024 14:46:55 +0100 Subject: [PATCH] Temp try compile flags for win and linux --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index bfa169c..84f55e0 100644 --- a/setup.py +++ b/setup.py @@ -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":